Broken packages

Asked by Ray Johansen

rjohansen@rjohansen-Satellite-L305:~$ sudo fuser -vvv /var/lib/dpkg/lock
[sudo] password for rjohansen:
rjohansen@rjohansen-Satellite-L305:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.10
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu 10.10"
rjohansen@rjohansen-Satellite-L305:~$ uname -a
Linux rjohansen-Satellite-L305 2.6.35-25-generic-pae #44-Ubuntu SMP Fri Jan 21 19:01:46 UTC 2011 i686 GNU/Linux
rjohansen@rjohansen-Satellite-L305:~$ sudo rm /var/lib/apt/lists/lock
rjohansen@rjohansen-Satellite-L305:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
rjohansen@rjohansen-Satellite-L305:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
rjohansen@rjohansen-Satellite-L305:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
rjohansen@rjohansen-Satellite-L305:~$ sudo rm -rf /var/lib/dpkg/updates/*
rjohansen@rjohansen-Satellite-L305:~$ sudo rm -rf /var/lib/apt/lists
rjohansen@rjohansen-Satellite-L305:~$ sudo rm /var/cache/apt/*.bin
rjohansen@rjohansen-Satellite-L305:~$ sudo mkdir /var/lib/apt/lists
rjohansen@rjohansen-Satellite-L305:~$ sudo mkdir /var/lib/apt/lists/partial
rjohansen@rjohansen-Satellite-L305:~$ LANG=C;sudo apt-get clean
rjohansen@rjohansen-Satellite-L305:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
rjohansen@rjohansen-Satellite-L305:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rjohansen@rjohansen-Satellite-L305:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Get:1 http://archive.ubuntu.com maverick Release.gpg [198B]
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Get:2 http://archive.canonical.com maverick Release.gpg [198B]
Ign http://archive.canonical.com/ maverick/partner Translation-en
Get:3 http://ppa.launchpad.net maverick Release.gpg [316B]
Ign http://ppa.launchpad.net/chuchiperriman/cloudsn/ubuntu/ maverick/main Translation-en
Get:4 http://ppa.launchpad.net maverick Release.gpg [316B]
Get:5 http://archive.ubuntu.com maverick Release [39.8kB]
Get:6 http://archive.canonical.com maverick Release [5925B]
Ign http://ppa.launchpad.net/ken-vandine/notifiers/ubuntu/ maverick/main Translation-en
Get:7 http://ppa.launchpad.net maverick Release [9758B]
Get:8 http://ppa.launchpad.net maverick Release [9748B]
Get:9 http://archive.canonical.com maverick/partner i386 Packages [7454B]
Get:10 http://archive.ubuntu.com maverick/main i386 Packages [1492kB]
Get:11 http://ppa.launchpad.net maverick/main Sources [504B]
Get:12 http://ppa.launchpad.net maverick/main i386 Packages [510B]
Get:13 http://ppa.launchpad.net maverick/main Sources [508B]
Get:14 http://ppa.launchpad.net maverick/main i386 Packages [462B]
Get:15 http://archive.ubuntu.com maverick/universe i386 Packages [5791kB]
Fetched 7359kB in 22s (330kB/s)
Reading package lists... Done
rjohansen@rjohansen-Satellite-L305:~$ sudo dpkg --clear-avail
rjohansen@rjohansen-Satellite-L305:~$ sudo dpkg --configure -a
rjohansen@rjohansen-Satellite-L305:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rjohansen@rjohansen-Satellite-L305:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rjohansen@rjohansen-Satellite-L305:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/chuchiperriman/cloudsn/ubuntu/ maverick/main Translation-en
Hit http://ppa.launchpad.net maverick Release.gpg
Hit http://archive.canonical.com maverick Release.gpg
Ign http://archive.canonical.com/ maverick/partner Translation-en
Hit http://archive.ubuntu.com maverick Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Ign http://ppa.launchpad.net/ken-vandine/notifiers/ubuntu/ maverick/main Translation-en
Hit http://ppa.launchpad.net maverick Release
Hit http://archive.canonical.com maverick Release
Hit http://archive.ubuntu.com maverick Release
Hit http://ppa.launchpad.net maverick Release
Hit http://archive.canonical.com maverick/partner i386 Packages
Hit http://archive.ubuntu.com maverick/main i386 Packages
Hit http://archive.ubuntu.com maverick/universe i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rjohansen@rjohansen-Satellite-L305:~$

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu samba Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Can you confirm that the package manager troubleshooting procedure solved your issue?

The Terminal output above looks fine now.

If not, please send us the output of the command that is giving errors...

Revision history for this message
Ray Johansen (rjohansen) said :
#2

It did not fix the issue. Trying to share a directory via GUI, errors out when attempting to install service: "Could not apply changes!
Fix broken packages first." Package Manager shows no broken packages.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

open a Terminal from the menu Applications->Accessories->Terminal

**Tip: right click with mouse on the top terminal windows title caption and select the menu item "Always on Top"
doing this you will force the terminal window to stay on top of the other windows and you will find very easy
to copy single row from this web page into the terminal...
Something more about using the terminal https://help.ubuntu.com/community/UsingTheTerminal

Then type or better copy and paste a row a time then press enter:
(Tip: select the single row to copy from this page then right click and select copy then click into the terminal window
and to quick paste click with middle button of mouse )

Copy and paste the rows below, copy and paste one row a time (see the **Tip) then press enter:

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove
sudo apt-get update

give your user password when requested, you don't see nothing when you type it, then press enter.

Then retry...

Hope this helps

Revision history for this message
Ray Johansen (rjohansen) said :
#4

rjohansen@rjohansen-Satellite-L305:~$ sudo dpkg --configure -a
[sudo] password for rjohansen:
dpkg: status database area is locked by another process
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get -f install
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get --fix-missing install
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get update
Hit http://archive.canonical.com maverick Release.gpg
Ign http://archive.canonical.com/ maverick/partner Translation-en
Hit http://archive.ubuntu.com maverick Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en_US
Ign http://archive.canonical.com/ maverick/partner Translation-en_US
Hit http://archive.canonical.com maverick Release
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/chuchiperriman/cloudsn/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/chuchiperriman/cloudsn/ubuntu/ maverick/main Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en_US
Hit http://archive.ubuntu.com maverick Release
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/ken-vandine/notifiers/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/ken-vandine/notifiers/ubuntu/ maverick/main Translation-en_US
Hit http://archive.canonical.com maverick/partner i386 Packages
Hit http://ppa.launchpad.net maverick Release
Hit http://archive.ubuntu.com maverick/main i386 Packages
Hit http://ppa.launchpad.net maverick Release
Hit http://archive.ubuntu.com maverick/universe i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get dist-upgrade
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get clean
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get autoremove
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get update
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/chuchiperriman/cloudsn/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/chuchiperriman/cloudsn/ubuntu/ maverick/main Translation-en_US
Hit http://archive.ubuntu.com maverick Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en_US
Hit http://archive.canonical.com maverick Release.gpg
Ign http://archive.canonical.com/ maverick/partner Translation-en
Ign http://archive.canonical.com/ maverick/partner Translation-en_US
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/ken-vandine/notifiers/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/ken-vandine/notifiers/ubuntu/ maverick/main Translation-en_US
Hit http://ppa.launchpad.net maverick Release
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en_US
Hit http://archive.ubuntu.com maverick Release
Hit http://archive.canonical.com maverick Release
Hit http://ppa.launchpad.net maverick Release
Hit http://archive.ubuntu.com maverick/main i386 Packages
Hit http://archive.canonical.com maverick/partner i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://archive.ubuntu.com maverick/universe i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
rjohansen@rjohansen-Satellite-L305:~$

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

Some underground or other package manager are open so you get the lock so the easy solution is to reboot your pc and retry

Revision history for this message
Ray Johansen (rjohansen) said :
#6

Retried, output below. Still errors when attempting to share a directory. Attempt to install service, "Could not apply changes!
Fix broken packages first."

------------------

rjohansen@rjohansen-Satellite-L305:~$ sudo dpkg --configure -a
[sudo] password for rjohansen:
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get update
Hit http://archive.ubuntu.com maverick Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en_US
Hit http://archive.canonical.com maverick Release.gpg
Ign http://archive.canonical.com/ maverick/partner Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en_US
Hit http://archive.ubuntu.com maverick Release
Ign http://archive.canonical.com/ maverick/partner Translation-en_US
Hit http://archive.canonical.com maverick Release
Hit http://archive.ubuntu.com maverick/main i386 Packages
Hit http://archive.canonical.com maverick/partner i386 Packages
Hit http://archive.ubuntu.com maverick/universe i386 Packages
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/chuchiperriman/cloudsn/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/chuchiperriman/cloudsn/ubuntu/ maverick/main Translation-en_US
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/ken-vandine/notifiers/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/ken-vandine/notifiers/ubuntu/ maverick/main Translation-en_US
Hit http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Reading package lists... Done
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get clean
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get update
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/chuchiperriman/cloudsn/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/chuchiperriman/cloudsn/ubuntu/ maverick/main Translation-en_US
Hit http://archive.canonical.com maverick Release.gpg
Ign http://archive.canonical.com/ maverick/partner Translation-en
Ign http://archive.canonical.com/ maverick/partner Translation-en_US
Hit http://archive.ubuntu.com maverick Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en_US
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/ken-vandine/notifiers/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/ken-vandine/notifiers/ubuntu/ maverick/main Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en_US
Hit http://ppa.launchpad.net maverick Release
Hit http://archive.ubuntu.com maverick Release
Hit http://archive.canonical.com maverick Release
Hit http://ppa.launchpad.net maverick Release
Hit http://archive.ubuntu.com maverick/main i386 Packages
Hit http://archive.canonical.com maverick/partner i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://archive.ubuntu.com maverick/universe i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Reading package lists... Done
rjohansen@rjohansen-Satellite-L305:~$

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#7

open a Terminal from the menu Applications->Accessories->Terminal

**Tip: right click with mouse on the top terminal windows title caption and select the menu item "Always on Top"
doing this you will force the terminal window to stay on top of the other windows and you will find very easy
to copy single row from this web page into the terminal...
Something more about using the terminal https://help.ubuntu.com/community/UsingTheTerminal

Then type or better copy and paste a row a time then press enter:
(Tip: select the single row to copy from this page then right click and select copy then click into the terminal window
and to quick paste click with middle button of mouse )

Copy and paste the rows below, copy and paste one row a time (see the **Tip) then press enter:

sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*; sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists; sudo mkdir /var/lib/apt/lists/partial
LANG=C;sudo apt-get clean; LANG=C;sudo apt-get autoclean
LANG=C;sudo apt-get update
sudo dpkg --clear-avail; sudo dpkg --configure -a
LANG=C;sudo apt-get install -f
LANG=C;sudo apt-get update
LANG=C;sudo apt-get dist-upgrade

give your user password when requested, you don't see nothing when you type it, then press enter.

Hope this helps

Revision history for this message
Ray Johansen (rjohansen) said :
#8

Retried, output below. Still errors when attempting to share a directory. Attempt to install service, "Could not apply changes!
Fix broken packages first."

----------------------------------

rjohansen@rjohansen-Satellite-L305:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
[sudo] password for rjohansen:
rjohansen@rjohansen-Satellite-L305:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
rjohansen@rjohansen-Satellite-L305:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
rjohansen@rjohansen-Satellite-L305:~$ sudo rm -rf /var/lib/dpkg/updates/*; sudo rm -rf /var/lib/apt/lists
rjohansen@rjohansen-Satellite-L305:~$ sudo mkdir /var/lib/apt/lists; sudo mkdir /var/lib/apt/lists/partial
rjohansen@rjohansen-Satellite-L305:~$ LANG=C;sudo apt-get clean; LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
rjohansen@rjohansen-Satellite-L305:~$ LANG=C;sudo apt-get update
Get:1 http://archive.canonical.com maverick Release.gpg [198B]
Ign http://archive.canonical.com/ maverick/partner Translation-en
Get:2 http://ppa.launchpad.net maverick Release.gpg [316B]
Ign http://ppa.launchpad.net/chuchiperriman/cloudsn/ubuntu/ maverick/main Translation-en
Get:3 http://ppa.launchpad.net maverick Release.gpg [316B]
Get:4 http://archive.ubuntu.com maverick Release.gpg [198B]
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Get:5 http://archive.canonical.com maverick Release [5925B]
Ign http://ppa.launchpad.net/ken-vandine/notifiers/ubuntu/ maverick/main Translation-en
Get:6 http://ppa.launchpad.net maverick Release [9758B]
Get:7 http://archive.ubuntu.com maverick Release [39.8kB]
Get:8 http://ppa.launchpad.net maverick Release [9748B]
Get:9 http://archive.canonical.com maverick/partner i386 Packages [7454B]
Get:10 http://ppa.launchpad.net maverick/main Sources [504B]
Get:11 http://ppa.launchpad.net maverick/main i386 Packages [510B]
Get:12 http://ppa.launchpad.net maverick/main Sources [508B]
Get:13 http://ppa.launchpad.net maverick/main i386 Packages [462B]
Get:14 http://archive.ubuntu.com maverick/main i386 Packages [1492kB]
Get:15 http://archive.ubuntu.com maverick/universe i386 Packages [5791kB]
Fetched 7359kB in 23s (311kB/s)
Reading package lists... Done
rjohansen@rjohansen-Satellite-L305:~$ sudo dpkg --clear-avail; sudo dpkg --configure -a
rjohansen@rjohansen-Satellite-L305:~$ LANG=C;sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rjohansen@rjohansen-Satellite-L305:~$ LANG=C;sudo apt-get update
Hit http://archive.ubuntu.com maverick Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/chuchiperriman/cloudsn/ubuntu/ maverick/main Translation-en
Hit http://ppa.launchpad.net maverick Release.gpg
Hit http://archive.canonical.com maverick Release.gpg
Ign http://archive.canonical.com/ maverick/partner Translation-en
Hit http://archive.ubuntu.com maverick Release
Ign http://ppa.launchpad.net/ken-vandine/notifiers/ubuntu/ maverick/main Translation-en
Hit http://ppa.launchpad.net maverick Release
Hit http://archive.canonical.com maverick Release
Hit http://archive.ubuntu.com maverick/main i386 Packages
Hit http://ppa.launchpad.net maverick Release
Hit http://archive.canonical.com maverick/partner i386 Packages
Hit http://archive.ubuntu.com maverick/universe i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Reading package lists... Done
rjohansen@rjohansen-Satellite-L305:~$ LANG=C;sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rjohansen@rjohansen-Satellite-L305:~$

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#9

Try

sudo apt-get --purge --reinstall install samba

Revision history for this message
Ray Johansen (rjohansen) said :
#10

rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get --purge --reinstall install samba
[sudo] password for rjohansen:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 samba : Depends: samba-common (= 2:3.5.4~dfsg-1ubuntu8) but 2:3.5.4~dfsg-1ubuntu8.2 is to be installed
         Depends: libwbclient0 (= 2:3.5.4~dfsg-1ubuntu8) but 2:3.5.4~dfsg-1ubuntu8.2 is to be installed
E: Broken packages
rjohansen@rjohansen-Satellite-L305:~$

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#11

try:
sudo apt-get autoclean
sudo apt-get -f install

Revision history for this message
Ray Johansen (rjohansen) said :
#12

Same error as before. Output:

rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get autoclean
[sudo] password for rjohansen:
Reading package lists... Done
Building dependency tree
Reading state information... Done
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#13

try:
sudo apt-get purge samba
sudo apt-get clean
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install samba

Revision history for this message
Ray Johansen (rjohansen) said :
#14

No go. Same error as before. Output:

rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get purge samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package samba is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get clean
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get update
Hit http://archive.ubuntu.com maverick Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/main Translation-en_US
Hit http://archive.canonical.com maverick Release.gpg
Ign http://archive.canonical.com/ maverick/partner Translation-en
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/chuchiperriman/cloudsn/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/chuchiperriman/cloudsn/ubuntu/ maverick/main Translation-en_US
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Ign http://archive.ubuntu.com/ubuntu/ maverick/universe Translation-en_US
Hit http://archive.ubuntu.com maverick Release
Ign http://archive.canonical.com/ maverick/partner Translation-en_US
Hit http://archive.canonical.com maverick Release
Hit http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/ken-vandine/notifiers/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/ken-vandine/notifiers/ubuntu/ maverick/main Translation-en_US
Hit http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick Release
Hit http://archive.ubuntu.com maverick/main i386 Packages
Hit http://archive.canonical.com maverick/partner i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://archive.ubuntu.com maverick/universe i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Reading package lists... Done
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rjohansen@rjohansen-Satellite-L305:~$ sudo apt-get install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 samba : Depends: samba-common (= 2:3.5.4~dfsg-1ubuntu8) but 2:3.5.4~dfsg-1ubuntu8.2 is to be installed
         Depends: libwbclient0 (= 2:3.5.4~dfsg-1ubuntu8) but 2:3.5.4~dfsg-1ubuntu8.2 is to be installed
E: Broken packages

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#15

Please try to set to download to main server from System→Administration→Update manager : settings button
And retry to upgrade the system

Revision history for this message
Ray Johansen (rjohansen) said :
#16

Update Manager was already set to main server.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#17

Can you help with this problem?

Provide an answer of your own, or ask Ray Johansen for more information if necessary.

To post a message you must log in.