Reply to topic

Update Error 9/10/2019 AppImage

Max17
Registered Member
Posts
8
Karma
0

Update Error 9/10/2019 AppImage

Wed Sep 11, 2019 10:21 am
After yesterdays update i received this error message. It popped up when I was installing updates in Discover

Setting up appimagelauncher (1.2.2+dfsg-1+18.04+bionic+build1) ...
/var/lib/dpkg/info/appimagelauncher.postinst: line 3: dpkg-architecture: command not found
dpkg: error processing package appimagelauncher (--configure):
installed appimagelauncher package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
appimagelauncher
E: Sub-process /usr/bin/dpkg returned an error code (1)

I viewed this file with Kwrite and not sure what line 3 is?
What is the missing line command?
Should I do a fresh install?

Thanks,
Max17


Distro: Current KDE neon User Edition
Dell OptiPlex 980 SFF
Processor: 4 x Intel Core i5 1st gen
CPU: 660 @ 3.33 GHz
Memory 8 GiB RAM
gfielding
Registered Member
Posts
114
Karma
0
OS

Re: Update Error 9/10/2019 AppImage

Wed Sep 11, 2019 11:01 am
I had a similar error when up-dating but this was just down to a server issue. I tried gain 30 minutes later and the updates went through fine.
airdrik
Registered Member
Posts
1691
Karma
3
OS

Re: Update Error 9/10/2019 AppImage

Wed Sep 11, 2019 6:41 pm
I find it a little weird how what appears to be an Appimage update was interacting in such a way with dpkg.
As for the error itself, it is complaining about missing a command "dpkg-architecture" which looks like it should be provided by the dpkg-dev package (which you'll need to install outside of Discover as it doesn't handle dev packages or libraries):
Code: Select all
sudo apt install dpkg-dev


airdrik, proud to be a member of KDE forums since 2008-Dec.
berttruck
Registered Member
Posts
1
Karma
0

Re: Update Error 9/10/2019 AppImage

Thu Sep 12, 2019 7:30 pm
Get exactly the same as the OP and nothing shifts it. Can't remove, can't purge, can't upgrade, even though there's an update for it. Just says: Package is in a very bad inconsistent state, you should reinstall it before attempting removal.

Code: Select all
sudo apt-get install --reinstall appimagelauncher


That worked finally.
alienbeedude
Registered Member
Posts
3
Karma
0

Re: Update Error 9/10/2019 AppImage

Fri Sep 13, 2019 5:44 am
Stuck with this one too :<

Code: Select all
$ sudo apt-get install --reinstall appimagelauncher
[sudo] password for box:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following packages were automatically installed and are no longer required:
  libevent-core-2.1-6 libevent-pthreads-2.1-6 libexiv2-26 libglade2-0 libphonon4
  linux-headers-4.18.0-25 linux-headers-4.18.0-25-generic linux-headers-5.0.0-23
  linux-headers-5.0.0-23-generic linux-image-4.18.0-25-generic
  linux-image-5.0.0-23-generic linux-modules-4.18.0-25-generic
  linux-modules-5.0.0-23-generic linux-modules-extra-4.18.0-25-generic
  linux-modules-extra-5.0.0-23-generic phonon phonon-backend-vlc python-cairo
  python-glade2 python-gobject-2 python-gtk2 sni-qt
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  appimagelauncher
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
26 not fully installed or removed.
Need to get 0 B/290 kB of archives.
After this operation, 3,072 B disk space will be freed.
(Reading database ... 253103 files and directories currently installed.)
Preparing to unpack .../appimagelauncher_1.2.2+dfsg-1+18.04+bionic+build3_amd64.deb ...
/var/lib/dpkg/info/appimagelauncher.prerm: line 3: dpkg-architecture: command not found
dpkg: warning: old appimagelauncher package pre-removal script subprocess returned error exit status 127
dpkg: trying script from the new package instead ...
dpkg: error processing archive /var/cache/apt/archives/appimagelauncher_1.2.2+dfsg-1+18.04+bionic+build3_amd64.deb (--unpack):
 there is no script in the new version of the package - giving up
/var/lib/dpkg/info/appimagelauncher.postinst: line 3: dpkg-architecture: command not found
dpkg: error while cleaning up:
 installed appimagelauncher package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
 /var/cache/apt/archives/appimagelauncher_1.2.2+dfsg-1+18.04+bionic+build3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


>:D
alienbeedude
Registered Member
Posts
3
Karma
0

Re: Update Error 9/10/2019 AppImage

Fri Sep 13, 2019 5:55 am

Last edited by alienbeedude on Fri Sep 13, 2019 6:09 am, edited 1 time in total.
User avatar bluelupo
Registered Member
Posts
23
Karma
1

Re: Update Error 9/10/2019 AppImage

Fri Sep 13, 2019 6:08 am
Hi,
I was also affected by the above problem. With the help of the console I was able to solve the problem yesterday. I executed the following commands (as root) in the console:

Code: Select all
# apt install dpkg-dev
# apt install -f
# apt dist-upgrade
alienbeedude
Registered Member
Posts
3
Karma
0

Re: Update Error 9/10/2019 AppImage

Fri Sep 13, 2019 6:51 am
bluelupo wrote:Hi,
I was also affected by the above problem. With the help of the console I was able to solve the problem yesterday. I executed the following commands (as root) in the console:

Code: Select all
# apt install dpkg-dev
# apt install -f
# apt dist-upgrade




ALL fixed now using this , thanks!!! 8-)
User avatar xanadux
Registered Member
Posts
4
Karma
0
OS

Re: Update Error 9/10/2019 AppImage

Fri Sep 13, 2019 6:37 pm
bluelupo wrote:...I executed the following commands (as root) in the console...


Thank you, Bluelupo !

I had the same problem, too. Fingers crossed, your solution seems to have fixed the problem.

I made the mistake of including the hashtag in the command, but once I omitted it, everything went well.

I'm not very good with the console... :<

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], bartoloni, Bing [Bot], Exabot [Bot], Google [Bot], htofaili, JesseWebb, joshiravi, kamathraghavendra, raphaelra, smankowski, Sogou [Bot], stephanw