Page 1 of 1

how to backtrack after attempt to install wrong versoin of an app

Posted: Sat Jun 29, 2019 5:33 pm
by ginahoy
I need to install Adobe Air to support an application. I followed the instructions on this page, but for the wrong Linux Mint version. Before installing the correct version, I want to remove any trace of the failed installation. I located and erased the .deb file, but I'm not sure if the failed dpkg install command would have generated any folders or files before it aborted. My terminal log is copied below. Am I good to go, or is there anything else I need to do?

Code: Select all

david@linux-desktop ~ $ wget -O adobe-air_amd64.deb http://drive.noobslab.com/data/apps/AdobeAir/adobeair_2.6.0.2_amd64.deb
--2019-06-29 14:05:44--  http://drive.noobslab.com/data/apps/AdobeAir/adobeair_2.6.0.2_amd64.deb
Resolving drive.noobslab.com (drive.noobslab.com)... 108.167.143.64
Connecting to drive.noobslab.com (drive.noobslab.com)|108.167.143.64|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15970504 (15M) [application/x-debian-package]
Saving to: ‘adobe-air_amd64.deb’

adobe-air_amd64.deb 100%[===================>]  15.23M   375KB/s    in 52s     

2019-06-29 14:06:36 (302 KB/s) - ‘adobe-air_amd64.deb’ saved [15970504/15970504]

david@linux-desktop ~ $ sudo dpkg -i adobe-air_amd64.deb
[sudo] password for david: 
Selecting previously unselected package adobeair.
(Reading database ... 288179 files and directories currently installed.)
Preparing to unpack adobe-air_amd64.deb ...
Unpacking adobeair (1:2.6.0.2) ...
dpkg: dependency problems prevent configuration of adobeair:
 adobeair depends on libbz2-1.0:i386.
 adobeair depends on libgtk2.0-0:i386 (>= 2.6).
 adobeair depends on libnss3:i386.
 adobeair depends on libxaw7:i386.
 adobeair depends on libxslt1.1:i386.

dpkg: error processing package adobeair (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing: adobeair

Re: how to backtrack after attempt to install wrong versoin of an app

Posted: Sat Jun 29, 2019 5:43 pm
by gittiest personITW
Do you use Timeshift?

Re: how to backtrack after attempt to install wrong versoin of an app

Posted: Sat Jun 29, 2019 5:55 pm
by ginahoy
gittiest personITW wrote:
Sat Jun 29, 2019 5:43 pm
Do you use Timeshift?
Not sure what that is, so no.

Re: how to backtrack after attempt to install wrong versoin of an app

Posted: Sat Jun 29, 2019 6:55 pm
by gittiest personITW
Just to check if you do use it.....

Menu
type "timeshift"

If it comes up you're laughing if it has been set up correctlly.
Click on a backup that was made before your 'upgrade', Click RESTORE.

or Aptik?

If however you haven't got Timeshift or Aptik, have you tried the correct version and see if it is ok - it might be a lot of worry over nothing. If you can't install the correct version, then can go from there.

Re: how to backtrack after attempt to install wrong versoin of an app

Posted: Sat Jun 29, 2019 9:33 pm
by ginahoy
I'm not familiar with either app and neither is installed on my system. I have my own backup protocal based in part on Clonezilla, and in fact, I just made a full backup last night. But hopefully there's no need to restore my drive.

No, I haven't tried to install the correct version of Adobe Air. It may very well be fine. I just thought it would be prudent to remove whatever mods to my system the initial attempt may have caused. So I guess my question is whether dpkg might have taken any action before aborting due to dependencies. But you're right, this is probably much ado about nothing. Being new to Linux, I do tend to be overly cautious.

Re: how to backtrack after attempt to install wrong versoin of an app

Posted: Sat Jun 29, 2019 9:51 pm
by ajgringo619
It doesn't look like your attempted installation did anything, but you always run sudo apt purge adobeair, just to be safe.

EDIT: from your link, it looks like you have the correct version of the deb.
EDIT #2: the install instructions required you to run sudo apt-get install -f afterwards; this was to fix any broken dependencies.

Re: how to backtrack after attempt to install wrong versoin of an app

Posted: Sat Jun 29, 2019 10:09 pm
by ajgringo619
All of the missing packages are available in Mint 19.1. If you want, after purging, try the installation again, but install the dependencies first:

Code: Select all

sudo apt install libbz2-1.0:i386 libgtk2.0-0:i386 libnss3:i386 libxaw7:i386 libxslt1.1:i386

Re: how to backtrack after attempt to install wrong versoin of an app

Posted: Sat Jun 29, 2019 10:34 pm
by MrEen
ajgringo619 wrote:
Sat Jun 29, 2019 9:51 pm
EDIT: from your link, it looks like you have the correct version of the deb.
From the link, and the OP's sig, they should be downloading and running the install script.

Re: how to backtrack after attempt to install wrong versoin of an app

Posted: Sat Jun 29, 2019 10:36 pm
by ajgringo619
MrEen wrote:
Sat Jun 29, 2019 10:34 pm
ajgringo619 wrote:
Sat Jun 29, 2019 9:51 pm
EDIT: from your link, it looks like you have the correct version of the deb.
From the link, and the OP's sig, they should be downloading and running the install script.
You are so correct; didn't even think to look there.

Re: how to backtrack after attempt to install wrong versoin of an app

Posted: Sat Jun 29, 2019 10:41 pm
by MrEen
I forgot to say, I also agree with this:
ajgringo619 wrote:
Sat Jun 29, 2019 9:51 pm
It doesn't look like your attempted installation did anything, but you always run sudo apt purge adobeair, just to be safe.

Re: how to backtrack after attempt to install wrong versoin of an app

Posted: Sun Jun 30, 2019 2:31 am
by ginahoy
Thanks for the replies! I tried the purge command and got this:

Code: Select all

david@linux-desktop ~ $ sudo apt purge adobeair
[sudo] password for david: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libatk1.0-0:i386 libcairo2:i386 libdatrie1:i386 libgdk-pixbuf2.0-0:i386 libglib2.0-0:i386 libgraphite2-3:i386 libgtk2.0-0:i386 libharfbuzz0b:i386 libnspr4:i386 libnss3:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386
  libpangoft2-1.0-0:i386 libpixman-1-0:i386 libthai0:i386 libxaw7:i386 libxcb-render0:i386 libxcb-shm0:i386 libxmu6:i386
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  adobeair*
0 upgraded, 0 newly installed, 1 to remove and 17 not upgraded.
After this operation, 47.2 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
Help me interpret this. I count 18 files in the list. Apparently one of these files would be removed as it wasn't previously installed, and the other 17 would not be upgraded. Does that mean those 17 files existed before the install and the purge will revert to their previous versions? Should I proceed?

I probably should have posted this under the Newbie forum as this is totally new to me :shock:

Re: how to backtrack after attempt to install wrong versoin of an app

Posted: Sun Jun 30, 2019 12:53 pm
by MrEen
The important part is this:

Code: Select all

The following packages will be REMOVED:
  adobeair*
0 upgraded, 0 newly installed, 1 to remove and 17 not upgraded.
Type y and let it uninstall.

The other packages are no longer needed on your system, and may not have come from adobeair (I'm not sure on that) but when you want to you can use apt autoremove to remove those as well.