LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-27-2016, 07:13 AM   #1
teboil12
Member
 
Registered: Jan 2011
Location: Finland
Distribution: Linux Mint 20.0
Posts: 200
Blog Entries: 2

Rep: Reputation: 19
Angry Updating problem with Linux Mint


Hello! Every time my computer asks me to update some program I get a report of some kind of a problem, like this (some of it is in Finnish, hope it don´t matter):

Tehdään asetuksia: network-manager (1.2.2-0ubuntu0.16.04.1) ...
Päivitetään asetustiedostoa /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf ...
Tehdään asetuksia: spotify-client (1:1.0.38.171.g5e1cd7b2-22) ...
Registering icon /usr/share/spotify/icons/spotify-linux-128.png
Registering icon /usr/share/spotify/icons/spotify-linux-16.png
Registering icon /usr/share/spotify/icons/spotify-linux-22.png
Registering icon /usr/share/spotify/icons/spotify-linux-24.png
Registering icon /usr/share/spotify/icons/spotify-linux-256.png
Registering icon /usr/share/spotify/icons/spotify-linux-32.png
Registering icon /usr/share/spotify/icons/spotify-linux-48.png
Registering icon /usr/share/spotify/icons/spotify-linux-512.png
Registering icon /usr/share/spotify/icons/spotify-linux-64.png
Registering desktop entry
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Käsittelyssä tapahtui liian monta virhettä:
runit
E: Sub-process /usr/bin/dpkg returned an error code (1)
Jonkin pakkauksen asennus epäonnistui. Yritän toipua:
Tehdään asetuksia: runit (2.1.2-3ubuntu1) ...
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Yhteys torjuttu
dpkg: error processing package runit (--configure):
aliprosessi komentotiedosto post-installation asennettu palautti virhetilakoodin 1

How can this be solved? Thankful for any advice!
 
Old 09-27-2016, 01:08 PM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
Quote:
Originally Posted by teboil12 View Post
How can this be solved? Thankful for any advice!
Hi...

Is your copy of Mint using systemd? From what I understand, as far as Ubuntu is concerned, this issue has to do with a conflict between Upstart and systemd. The latter has replaced the former for init tasks.

Please see the links below for some possible solutions and more in depth explanations of why this problem has occurred...

http://askubuntu.com/questions/61497...ection-refused

http://askubuntu.com/questions/65495...ed-errors-were

http://askubuntu.com/questions/71922...ect-to-upstart

You can also go through my Google search here.

Please note that I can't guarantee the above solutions will work for Mint.

EDIT: If you are using Mint in a VM, please see this article instead.

Regards...

Last edited by ardvark71; 09-27-2016 at 01:30 PM. Reason: Added information and links.
 
Old 09-27-2016, 07:22 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by ardvark71 View Post
Hi...

Is your copy of Mint using systemd?
Lets's find out!
Code:
cat /proc/1/comm
I'd run
Code:
mintsources
and remove the spotify PPA/whatever and refresh the cache and try again.
else in terminal:
Code:
inxi -c 0 -Sr | pastebin
Can we have that url when you run it?
System info and repos, is all. Thanks.

Last edited by Habitual; 09-27-2016 at 07:26 PM.
 
Old 09-28-2016, 12:49 AM   #4
teboil12
Member
 
Registered: Jan 2011
Location: Finland
Distribution: Linux Mint 20.0
Posts: 200

Original Poster
Blog Entries: 2

Rep: Reputation: 19
Hi Habitual!

cat /proc/1/com gives me systemd

the Spotify PPA seems not to be relevant, because I have the same problem with ALL UPDATES!!!, for example I have several incidents where the update manager wants me to update LibreCAD again and again...

inxi -c 0 -Sr pastebin gives me : https://gist.github.com/6117a1ca6007...d54d6f0eda6375

What can you make out of this?
 
Old 09-28-2016, 03:53 AM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
The update appears to be failing on Spotify so I would disable the Spotify PPA if I were you, as per Habitual's advice, and see if you still get errors.

What distro are you running? You normally wouldn't be running systemd as the init system if you're on Linux Mint 17.3 as it says in your profile, unless you've specifically installed it as such.
 
Old 09-28-2016, 06:44 AM   #6
teboil12
Member
 
Registered: Jan 2011
Location: Finland
Distribution: Linux Mint 20.0
Posts: 200

Original Poster
Blog Entries: 2

Rep: Reputation: 19
OK!

Spotify PPA disabled. I´ll let you know what next update looks like, today before disabling Spotify I had another update (cannot remember what update it was), giving me the same kind of error announcement, referring not to Spotify but to the program that was being updated.

By the way, I also updated my profile (sorry for the delay), I use Linux Mint 18 Sarah Cinnamon.
 
Old 09-28-2016, 11:39 AM   #7
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
Quote:
Originally Posted by teboil12 View Post
Spotify PPA disabled. I´ll let you know what next update looks like, today before disabling Spotify I had another update (cannot remember what update it was), giving me the same kind of error announcement, referring not to Spotify but to the program that was being updated.
Hi...

Please post that error message.

Regards...

Last edited by ardvark71; 09-28-2016 at 11:41 AM. Reason: Deleted question.
 
Old 09-29-2016, 01:16 AM   #8
teboil12
Member
 
Registered: Jan 2011
Location: Finland
Distribution: Linux Mint 20.0
Posts: 200

Original Poster
Blog Entries: 2

Rep: Reputation: 19
Today I was asked to update Samba, here is the message. By the way, every time I get the message and close it, the update continues in a normal way, so could there be just some minor problem somewhere (just asking)?

Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Tehdään asetuksia: runit (2.1.2-3ubuntu1) ...
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Yhteys torjuttu
dpkg: error processing package runit (--configure):
aliprosessi komentotiedosto post-installation asennettu palautti virhetilakoodin 1
Tehdään asetuksia: libwbclient0:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.1) ...
Tehdään asetuksia: samba-libs:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.1) ...
Tehdään asetuksia: python-samba (2:4.3.11+dfsg-0ubuntu0.16.04.1) ...
Tehdään asetuksia: samba-common (2:4.3.11+dfsg-0ubuntu0.16.04.1) ...
Tehdään asetuksia: samba-common-bin (2:4.3.11+dfsg-0ubuntu0.16.04.1) ...
Tehdään asetuksia: libsmbclient:amd64 (2:4.3.11+dfsg-0ubuntu0.16.04.1) ...
Tehdään asetuksia: smbclient (2:4.3.11+dfsg-0ubuntu0.16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Käsittelyssä tapahtui liian monta virhettä:
runit
E: Sub-process /usr/bin/dpkg returned an error code (1)
Jonkin pakkauksen asennus epäonnistui. Yritän toipua:
Tehdään asetuksia: runit (2.1.2-3ubuntu1) ...
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Yhteys torjuttu
dpkg: error processing package runit (--configure):
aliprosessi komentotiedosto post-installation asennettu palautti virhetilakoodin 1
 
Old 09-29-2016, 02:10 AM   #9
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
For info, did you upgrade Linux Mint 17.3 in-situ to Linux Mint 18, or did you install Linux Mint 18 from scratch?

Also, are you using Mint on bare metal or in a virtual machine?
 
Old 09-29-2016, 06:52 AM   #10
teboil12
Member
 
Registered: Jan 2011
Location: Finland
Distribution: Linux Mint 20.0
Posts: 200

Original Poster
Blog Entries: 2

Rep: Reputation: 19
In situ, no virtual machine.
 
Old 09-29-2016, 08:02 AM   #11
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Quote:
Originally Posted by teboil12 View Post
In situ, no virtual machine.
Ok. Something may well have gone awry with that process (you shouldn't be needing to refer to Upstart in Linux Mint 18). Did the upgrade process produce any errors, and how long after the upgrade took place did the update errors begin?
 
Old 09-29-2016, 08:49 AM   #12
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Code:
sudo apt-get install -f
should try to repair what it thinks is broken and it may or may not prompt you for
Y/N on a corrective action. I'd accept the default and allow it, if it were me.

You may have to run it twice just to be certain it got fixed before running
Code:
sudo apt-get update
and see if the error persists.

and show us the commands you are using, not just the output, PLEASE when you post code snippets.

Here's mine (clean for comparison)
Code:
sudo apt-get install -f
[sudo] password for jj:        
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded

You have non-Mint installed software sources.
The first thing is to use defaults and get your system stable and then
add your foreign sources one at a time, and immediately check using
Code:
sudo apt-get update
after every addition.

Thank you.

Resources:
How to install software on Linux Mint
and the mostly-LinuxMint related Easy Linux Tips project.
 
Old 09-29-2016, 12:45 PM   #13
teboil12
Member
 
Registered: Jan 2011
Location: Finland
Distribution: Linux Mint 20.0
Posts: 200

Original Poster
Blog Entries: 2

Rep: Reputation: 19
Update errors begun at once, as far as I remember.

sudo apt-get install -f
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu
Luetaan tilatiedot... Valmis
Seuraavat paketit on alun perin asennettu automaattisesti, eikä niitä enää tarvita:
evince-common kdepimlibs-data ladspa-sdk lib32gcc1 libakonadi-contact4
libastro1 libastro1-qt4 libbaloocore4 libbaloofiles4 libbalooxapian4
libc6-i386 libdmtx0a libkexiv2-11v5 libkexiv2-data libkf5akonadicontact5
libkf5akonadicore-bin libkf5akonadicore5 libkf5akonadiprivate5
libkf5akonadiwidgets5 libkf5bookmarks-data libkf5bookmarks5
libkf5calendarcore5 libkf5contacts-data libkf5contacts5
libkf5filemetadata-data libkf5filemetadata3 libkf5itemmodels5
libkf5kdelibs4support-data libkf5kdelibs4support5 libkf5kiofilewidgets5
libkf5kipi31.0.0 libkf5ksane5 libkf5mime5 libkf5notifyconfig-data
libkf5notifyconfig5 libkf5parts-data libkf5parts5 libkf5threadweaver5
libkface-data libkface3 libkgeomap-data libkgeomap2 libkipi-data libkipi11
libkmime4 libkpimutils4 liblensfun-data-v1 liblensfun1
libmarblewidget-qt4-22 libmarblewidget-qt5-23 libpgf6 libprison0
libqt5concurrent5 libqt5multimedia5 libqt5multimediawidgets5 libsqlite0
marble-data python-gnome2 swh-plugins xserver-xorg-legacy
Use 'sudo apt autoremove' to remove them.
0 päivitetty, 0 uutta asennusta, 0 poistettavaa ja 1 päivittämätöntä.
1 ei asennettu kokonaan tai poistettiin.
Toiminnon jälkeen käytetään 0 t lisää levytilaa.
Tehdään asetuksia: runit (2.1.2-3ubuntu1) ...
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Yhteys torjuttu
dpkg: error processing package runit (--configure):
aliprosessi komentotiedosto post-installation asennettu palautti virhetilakoodin 1
Käsittelyssä tapahtui liian monta virhettä:
runit
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Old 09-29-2016, 01:39 PM   #14
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Did you make a backup of your system before the upgrade? If so, I would suggest that you revert to that backup and redo the upgrade process, taking note of any errors produced.
 
Old 12-31-2016, 04:56 AM   #15
teboil12
Member
 
Registered: Jan 2011
Location: Finland
Distribution: Linux Mint 20.0
Posts: 200

Original Poster
Blog Entries: 2

Rep: Reputation: 19
Solved (???)

Think I solved it by going to synaptics and getting rid of runit, all seems to be back to normal...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors while updating Linux Mint 16 lpvmc Linux Mint 8 09-23-2015 08:04 PM
Need Help Updating Wireless Driver on Linux Mint 2Wolves Linux - Software 3 01-16-2014 07:16 PM
Mint 9 Xfce RC updating starkadder Linux Mint 5 08-20-2010 01:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration