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

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
ginahoy
Level 3
Level 3
Posts: 188
Joined: Sun May 28, 2017 3:15 pm

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

Post by ginahoy » Sat Jun 29, 2019 5:33 pm

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
Linux Mint 18.2 Xfce x64 | ASRock Z270 Extreme4 | Core i7 7700K | Cryorig H7 cooler| 32GB DDR4 2400| modded legacy Evercase LE4252 | EVGA 450W B3 | Samsung 850 EVO SSD

gittiest personITW
Level 5
Level 5
Posts: 809
Joined: Tue May 28, 2019 4:27 pm

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

Post by gittiest personITW » Sat Jun 29, 2019 5:43 pm

Do you use Timeshift?

ginahoy
Level 3
Level 3
Posts: 188
Joined: Sun May 28, 2017 3:15 pm

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

Post by ginahoy » Sat Jun 29, 2019 5:55 pm

gittiest personITW wrote:
Sat Jun 29, 2019 5:43 pm
Do you use Timeshift?
Not sure what that is, so no.
Linux Mint 18.2 Xfce x64 | ASRock Z270 Extreme4 | Core i7 7700K | Cryorig H7 cooler| 32GB DDR4 2400| modded legacy Evercase LE4252 | EVGA 450W B3 | Samsung 850 EVO SSD

gittiest personITW
Level 5
Level 5
Posts: 809
Joined: Tue May 28, 2019 4:27 pm

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

Post by gittiest personITW » Sat Jun 29, 2019 6:55 pm

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.

ginahoy
Level 3
Level 3
Posts: 188
Joined: Sun May 28, 2017 3:15 pm

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

Post by ginahoy » Sat Jun 29, 2019 9:33 pm

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.
Linux Mint 18.2 Xfce x64 | ASRock Z270 Extreme4 | Core i7 7700K | Cryorig H7 cooler| 32GB DDR4 2400| modded legacy Evercase LE4252 | EVGA 450W B3 | Samsung 850 EVO SSD

ajgringo619
Level 6
Level 6
Posts: 1462
Joined: Thu Mar 01, 2018 8:36 pm
Location: San Diego, California, USA

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

Post by ajgringo619 » 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.

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.
Mint 19.2 XFCE
kernel 4.15.0-70-generic
AMD FX-8350 Eight-Core w/16 GB RAM
Nvidia GeForce 960 w/2GB RAM (440.26)
Image

ajgringo619
Level 6
Level 6
Posts: 1462
Joined: Thu Mar 01, 2018 8:36 pm
Location: San Diego, California, USA

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

Post by ajgringo619 » Sat Jun 29, 2019 10:09 pm

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
Mint 19.2 XFCE
kernel 4.15.0-70-generic
AMD FX-8350 Eight-Core w/16 GB RAM
Nvidia GeForce 960 w/2GB RAM (440.26)
Image

User avatar
MrEen
Level 15
Level 15
Posts: 5555
Joined: Mon Jun 12, 2017 8:39 pm

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

Post by MrEen » 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.

ajgringo619
Level 6
Level 6
Posts: 1462
Joined: Thu Mar 01, 2018 8:36 pm
Location: San Diego, California, USA

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

Post by ajgringo619 » Sat Jun 29, 2019 10:36 pm

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.
Mint 19.2 XFCE
kernel 4.15.0-70-generic
AMD FX-8350 Eight-Core w/16 GB RAM
Nvidia GeForce 960 w/2GB RAM (440.26)
Image

User avatar
MrEen
Level 15
Level 15
Posts: 5555
Joined: Mon Jun 12, 2017 8:39 pm

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

Post by MrEen » Sat Jun 29, 2019 10:41 pm

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.

ginahoy
Level 3
Level 3
Posts: 188
Joined: Sun May 28, 2017 3:15 pm

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

Post by ginahoy » Sun Jun 30, 2019 2:31 am

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:
Linux Mint 18.2 Xfce x64 | ASRock Z270 Extreme4 | Core i7 7700K | Cryorig H7 cooler| 32GB DDR4 2400| modded legacy Evercase LE4252 | EVGA 450W B3 | Samsung 850 EVO SSD

User avatar
MrEen
Level 15
Level 15
Posts: 5555
Joined: Mon Jun 12, 2017 8:39 pm

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

Post by MrEen » Sun Jun 30, 2019 12:53 pm

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.

Post Reply

Return to “Software & Applications”