-   Linux - Software (
-   -   Software Manager and Software Center Issues (

wmeler 10-09-2013 09:45 AM

Software Manager and Software Center Issues
In mint, Synaptic seems to work fine for me.

However, both Mint's Software Manager and Ubuntu's Software Center attempt to start up but then just mysteriously stop. Running from a command line, mintinstall shows a 4 digit number usually (which I'm guessing may be a process number).
This has been happening for a while. Annoying.

I tried to issue these commands (which seemed to occur), but there was really no effect:

PowerEdge-400SC /etc/apt/sources.list.d $ sudo apt-get clean
PowerEdge-400SC /etc/apt/sources.list.d $ cd /var/lib/apt
PowerEdge-400SC /var/lib/apt $ sudo mv lists lists.old
PowerEdge-400SC /var/lib/apt $ sudo mkdir -p lists/partial
PowerEdge-400SC /var/lib/apt $ sudo apt-get update
Get:1 raring Release.gpg [933 B]
Get:2 raring-updates Release.gpg [933 B]
Get:3 olivia Release.gpg [197 B]
Get:4 raring Release [40.8 kB]
Get:5 raring-security Release.gpg [933 B]
Get:6 raring Release.gpg [933 B]
Get:7 raring-updates Release [40.8 kB]
Get:8 raring Release [5,919 B]
Get:9 olivia Release [17.7 kB]
Get:10 raring/main i386 Packages [1,168 kB]
Get:11 raring-security Release [40.8 kB]
Get:12 olivia/main i386 Packages [23.5 kB]
Get:13 raring/partner i386 Packages [4,279 B]
Get:14 olivia/upstream i386 Packages [9,237 B]
Get:15 raring-security/main i386 Packages [118 kB]
Get:16 olivia/import i386 Packages [39.9 kB]
Get:17 raring-security/restricted i386 Packages [14 B]
Get:18 raring/restricted i386 Packages [9,623 B]
Get:19 raring-security/universe i386 Packages [38.3 kB]
Get:20 raring/universe i386 Packages [5,405 kB]
Get:21 raring-security/multiverse i386 Packages [3,864 B]
Ign raring/partner Translation-en_US
Get:22 raring-security/main Translation-en [61.3 kB]
Ign raring/partner Translation-en
Get:23 raring-security/multiverse Translation-en [1,826 B]
Get:24 raring-security/restricted Translation-en [14 B]
Get:25 raring-security/universe Translation-en [23.4 kB]
Ign olivia/import Translation-en_US
Ign olivia/import Translation-en
Ign olivia/main Translation-en_US
Ign olivia/main Translation-en
Ign olivia/upstream Translation-en_US
Ign olivia/upstream Translation-en
Ign raring-security/main Translation-en_US
Ign raring-security/multiverse Translation-en_US
Get:26 raring/multiverse i386 Packages [131 kB]
Ign raring-security/restricted Translation-en_US
Ign raring-security/universe Translation-en_US
Get:27 raring/main Translation-en [673 kB]
Get:28 raring/multiverse Translation-en [98.4 kB]
Get:29 raring/restricted Translation-en [2,767 B]
Get:30 raring/universe Translation-en [3,736 kB]
Get:31 raring-updates/main i386 Packages [185 kB]
Get:32 raring-updates/restricted i386 Packages [14 B]
Get:33 raring-updates/universe i386 Packages [149 kB]
Get:34 raring-updates/multiverse i386 Packages [3,864 B]
Get:35 raring-updates/main Translation-en [88.5 kB]
Get:36 raring-updates/multiverse Translation-en [1,826 B]
Get:37 raring-updates/restricted Translation-en [14 B]
Get:38 raring-updates/universe Translation-en [76.9 kB]
Ign raring/main Translation-en_US
Ign raring/multiverse Translation-en_US
Ign raring/restricted Translation-en_US
Ign raring/universe Translation-en_US
Ign raring-updates/main Translation-en_US
Ign raring-updates/multiverse Translation-en_US
Ign raring-updates/restricted Translation-en_US
Ign raring-updates/universe Translation-en_US
Fetched 12.2 MB in 19s (642 kB/s)
Reading package lists... Done
PowerEdge-400SC /var/lib/apt $ sudo mintinstall
Real-time signal 0
PowerEdge-400SC /var/lib/apt $ 3961

PowerEdge-400SC /var/lib/apt $
PowerEdge-400SC /var/lib/apt $ [YEAH, I JUST HIT ENTER TWICE... BECAUSE IT MYSTERIOUSLY DIED... THAT 3961 WAS *OUTPUT* OF "mintinstall"]
WARNING:root:could not open file '/etc/apt/sources.list'

[YEAH,: command not found
PowerEdge-400SC /var/lib/apt $

Ideas? Thanks in advance.

jailbait 10-09-2013 04:11 PM

You may have a problem with a lock file that was left in place when it should have been deleted. Find all of your apt-get lock files:

find /var -iname "*lock*"

Take a look at the properties of each lock file. The properties should show the time of the latest access to that lock file. See if you can find a lock file that is last accessed at the time of the latest failed run.

Steve Stites

wmeler 10-10-2013 03:42 PM

Here's a bit more, as I thought it might help...

PowerEdge-400SC ~ $ sudo inxi -r
Repos: Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb olivia main upstream import
deb raring main restricted universe multiverse
deb raring-updates main restricted universe multiverse
deb raring-security main restricted universe multiverse
deb raring partner
PowerEdge-400SC ~ $ ls -al /etc/apt/sources.list
-rw-r--r-- 1 root root 0 Oct 10 09:40 /etc/apt/sources.list
PowerEdge-400SC ~ $ file /etc/apt/sources.list
/etc/apt/sources.list: empty

wmeler 10-10-2013 03:44 PM

Any tips where to start?
As requested...

PowerEdge-400SC ~ $ sudo find /var -iname "*lock*"

jailbait 10-10-2013 08:37 PM

Take a look at the properties of each of these files and see if a lock file was accessed at the time that your last attempt to run Mint's Software Manager or Ubuntu's Software Center failed.


Steve Stites

wmeler 10-13-2013 09:11 PM


All times are GMT -5. The time now is 09:06 PM.