Trouble installing and uninstalling programs

Asked by Deb

I've been having trouble installing and removing software from the Software Center. Just a few minutes ago, I tried to remove a program and a window opened up and said the removal had failed. In the "details" it said: installArchives() failed:....
It continued with a long list. I'm new to Ubuntu and have been experimenting. I may have messed something up. If need be I can reload it. I just don't want to make some of the same mistakes.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Hi,

First please make sure to close all open programs, including all package managers like Software Center, Synaptic, Add/remove programs, etc ...

Then please try this procedure:

Step 1: Open Terminal from "Applications->Accessories->
Terminal"

Step 2: Please COPY-PASTE each line below into the Terminal then hit <enter> after each line)

Tip: If you have a wheel mouse or 3 button mouse, you do not need to type commands into the Terminal. Highlight the command written on the webpage. Move your cursor anywhere in the Terminal and press the wheel or middle button. Automatic Copy and paste! No spelling mistakes! No Typos! No other errors!

sudo rm /var/lib/apt/lists/lock
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 aptitude clean
LANG=C;sudo aptitude autoclean
LANG=C;sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
LANG=C;sudo aptitude install -f
LANG=C;sudo aptitude update
LANG=C;sudo aptitude dist-upgrade

Step 3: Please post results (copy/paste terminal output from each command) on this thread

Step 4: Then retry removing the application in Software Center

Hope it helps,

Regards,

Mark

Revision history for this message
Deb (debscreek) said :
#2

Mark:

The message is still appearing, even though the software looks installed and can be opened in "Applications". Some phrases included in the message are: No packages matching textive-base. At the bottom it says: Errors were encountered while processing: tex-common texlive bianaries. Any ideas?

--- On Mon, 5/24/10, Mark Rijckenberg <email address hidden> wrote:

From: Mark Rijckenberg <email address hidden>
Subject: Re: [Question #112136]: Trouble installing and uninstalling programs
To: <email address hidden>
Date: Monday, May 24, 2010, 6:00 PM

Your question #112136 on yelp in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/112136

    Status: Open => Needs information

Mark Rijckenberg requested for more information:
Hi,

First please make sure to close all open programs, including all package
managers like Software Center, Synaptic, Add/remove programs, etc ...

Then please try this procedure:

Step 1: Open Terminal from "Applications->Accessories->
Terminal"

Step 2: Please COPY-PASTE each line below into the Terminal then hit
<enter> after each line)

Tip: If you have a wheel mouse or 3 button mouse, you do not need to
type commands into the Terminal. Highlight the command written on the
webpage. Move your cursor anywhere in the Terminal and press the wheel
or middle button. Automatic Copy and paste! No spelling mistakes! No
Typos! No other errors!

sudo rm /var/lib/apt/lists/lock
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 aptitude clean
LANG=C;sudo aptitude autoclean
LANG=C;sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
LANG=C;sudo aptitude install -f
LANG=C;sudo aptitude update
LANG=C;sudo aptitude dist-upgrade

Step 3: Please post results (copy/paste terminal output from each
command) on this thread

Step 4: Then retry removing the application in Software Center

Hope it helps,

Regards,

Mark

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/112136

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#3

Please send us the output of the commands I sent you....

Step 3 was not done....

Revision history for this message
Deb (debscreek) said :
#4

I re-entered the info. and this is what came back:

nub@nub:~$ sudo rm /var/lib/apt/lists/lock
[sudo] password for nub:
nub@nub:~$ sudo rm /var/lib/apt/lists/lock
rm: cannot remove `/var/lib/apt/lists/lock': No such file or directory
nub@nub:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
nub@nub:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
nub@nub:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
nub@nub:~$ sudo rm -rf /var/lib/dpkg/updates/*
nub@nub:~$ sudo rm -rf /var/lib/apt/lists
nub@nub:~$ sudo mkdir /var/lib/apt/lists
nub@nub:~$ sudo mkdir /var/lib/apt/lists/partial
nub@nub:~$ LANG=C;sudo aptitude clean
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended
 state information
Initializing package states... Done
Writing extended state information... Done
nub@nub:~$ LANG=C;sudo aptitude autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Freed 0B of disk space
nub@nub:~$ LANG=C;sudo apt-get update
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic Release.gpg
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic Release
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/main Packages
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/restricted Packages
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/main Packages
Ign cdrom://Ubuntu
 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/restricted Packages
Err cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/main Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/restricted Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Get:1 http://archive.canonical.com karmic Release.gpg [189B]
Get:2 http://archive.canonical.com lucid Release.gpg [189B]
Get:3 http://archive.canonical.com karmic Release
 [9347B]
Get:4 http://archive.canonical.com lucid Release [8203B]
Get:5 http://archive.canonical.com karmic/partner Packages [4964B]
Get:6 http://archive.canonical.com karmic/partner Sources [1856B]
Get:7 http://archive.canonical.com lucid/partner Packages [10.2kB]
Get:8 http://us.archive.ubuntu.com lucid Release.gpg [189B]
Get:9 http://us.archive.ubuntu.com lucid-updates Release.gpg [189B]
Get:10 http://us.archive.ubuntu.com karmic-backports Release.gpg [189B]
Get:11 http://us.archive.ubuntu.com lucid-security Release.gpg [189B]
Get:12 http://us.archive.ubuntu.com lucid Release
 [57.2kB]
Get:13 http://us.archive.ubuntu.com lucid-updates Release [38.5kB]
Get:14 http://us.archive.ubuntu.com karmic-backports Release [44.1kB]
Get:15 http://us.archive.ubuntu.com lucid-security Release [32.5kB]
Get:16 http://us.archive.ubuntu.com lucid/main Packages [1386kB]
Get:17 http://us.archive.ubuntu.com lucid/restricted Packages [6208B]
Get:18 http://us.archive.ubuntu.com lucid/universe Packages [5448kB]
Get:19
 http://us.archive.ubuntu.com lucid/multiverse Packages [180kB]
Get:20 http://us.archive.ubuntu.com lucid-updates/main Packages [162kB]
Get:21 http://us.archive.ubuntu.com lucid-updates/restricted Packages [2102B]
Get:22 http://us.archive.ubuntu.com lucid-updates/universe Packages [26.5kB]
Get:23 http://us.archive.ubuntu.com lucid-updates/multiverse Packages [632B]
Get:24 http://us.archive.ubuntu.com karmic-backports/main Packages [68.0kB]
Get:25 http://us.archive.ubuntu.com karmic-backports/restricted Packages [14B]
Get:26 http://us.archive.ubuntu.com karmic-backports/universe Packages [21.1kB]
Get:27 http://us.archive.ubuntu.com karmic-backports/multiverse Packages [14B]
Get:28 http://us.archive.ubuntu.com karmic-backports/main Sources [25.1kB]

Get:29 http://us.archive.ubuntu.com karmic-backports/restricted Sources [14B]
Get:30 http://us.archive.ubuntu.com karmic-backports/universe Sources [5530B]
Get:31 http://us.archive.ubuntu.com karmic-backports/multiverse Sources [14B]
Get:32 http://us.archive.ubuntu.com lucid-security/main Packages [9729B]
Get:33 http://us.archive.ubuntu.com lucid-security/restricted Packages [14B]
Get:34 http://us.archive.ubuntu.com lucid-security/universe Packages [2074B]
Get:35 http://us.archive.ubuntu.com lucid-security/multiverse Packages [14B]
Fetched 7550kB in 1min 41s (74.7kB/s)
W: Failed to fetch
 cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)/dists/karmic/main/binary-i386/Packages.gz  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)/dists/karmic/restricted/binary-i386/Packages.gz  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Some index files failed to download, they have been ignored, or old ones used instead.
nub@nub:~$ sudo dpkg --clear-avail
nub@nub:~$ sudo dpkg --configure -a
Setting up tex-common (2.06) ...
Running mktexlsr. This may take some time... done.
No packages found matching texlive-base.
dpkg: error processing tex-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration
 of texlive-binaries:
 texlive-binaries depends on tex-common (>= 2.00); however:
  Package tex-common is not configured yet.
dpkg: error processing texlive-binaries (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 tex-common
 texlive-binaries
nub@nub:~$ LANG=C;sudo aptitude install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following partially installed packages will be configured:
  tex-common texlive-binaries
0 packages upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up tex-common (2.06) ...
Running mktexlsr. This may take some time...
 done.
No packages found matching texlive-base.
dpkg: error processing tex-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of texlive-binaries:
 texlive-binaries depends on tex-common (>= 2.00); however:
  Package tex-common is not configured yet.
dpkg: error processing texlive-binaries (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 tex-common
 texlive-binaries
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to
 recover:
Setting up tex-common (2.06) ...
Running mktexlsr. This may take some time... done.
No packages found matching texlive-base.
dpkg: error processing tex-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of texlive-binaries:
 texlive-binaries depends on tex-common (>= 2.00); however:
  Package tex-common is not configured yet.
dpkg: error processing texlive-binaries (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 tex-common
 texlive-binaries
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done

--- On Mon,
 5/24/10, Mark Rijckenberg <email address hidden> wrote:

From: Mark Rijckenberg <email address hidden>
Subject: Re: [Question #112136]: Trouble installing and uninstalling programs
To: <email address hidden>
Date: Monday, May 24, 2010, 6:00 PM

Your question #112136 on yelp in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/112136

    Status: Open => Needs information

Mark Rijckenberg requested for more information:
Hi,

First please make sure to close all open programs, including all package
managers like Software Center, Synaptic, Add/remove programs, etc ...

Then please try this
 procedure:

Step 1: Open Terminal from "Applications->Accessories->
Terminal"

Step 2: Please COPY-PASTE each line below into the Terminal then hit
<enter> after each line)

Tip: If you have a wheel mouse or 3 button mouse, you do not need to
type commands into the Terminal. Highlight the command written on the
webpage. Move your cursor anywhere in the Terminal and press the wheel
or middle button. Automatic Copy and paste! No spelling mistakes! No
Typos! No other errors!

sudo rm /var/lib/apt/lists/lock
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 aptitude clean
LANG=C;sudo aptitude autoclean
LANG=C;sudo
 apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
LANG=C;sudo aptitude install -f
LANG=C;sudo aptitude update
LANG=C;sudo aptitude dist-upgrade

Step 3: Please post results (copy/paste terminal output from each
command) on this thread

Step 4: Then retry removing the application in Software Center

Hope it helps,

Regards,

Mark

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/112136

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#5

Please also send the output of the following 2 commands:

cat /etc/lsb-release
uname -a

Revision history for this message
Deb (debscreek) said :
#6

Here is the info:

nub@nub:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"
nub@nub:~$ uname -a

--- On Mon, 5/24/10, Mark Rijckenberg <email address hidden> wrote:

From: Mark Rijckenberg <email address hidden>
Subject: Re: [Question #112136]: Trouble installing and uninstalling programs
To: <email address hidden>
Date: Monday, May 24, 2010, 8:57 PM

Your question #112136 on yelp in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/112136

    Status: Open => Needs information

Mark Rijckenberg requested for more information:
Please also send the output of the following 2 commands:

cat /etc/lsb-release
uname -a

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+source/yelp/+question/112136

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#7

The problem is that you are running Ubuntu 10.04, but you are mixing software repositories from Ubuntu 9.10 (karmic) and Ubuntu 10.04 (lucid) in your /etc/apt/sources.list file.

Mixing like this should NEVER be done as it will screw up your Ubuntu install. It should only contain repositories from lucid (Ubuntu 10.04) Too much damage to your 10.04 packages may have already been done, but you could try the following procedure (instead of a clean re-install of Ubuntu 10.04)

Run the following command in the Terminal:

gksudo gedit /etc/apt/sources.list

REMOVE all the contents of that file /etc/apt/sources.list and REPLACE it with the following contents:

!!!!!!IMPORTANT!!!!!!!: make sure to copy-paste the contents below into the gedit editor using a WEBBROWSER like Firefox by visiting this website using Mozilla Firefox:

https://answers.launchpad.net/ubuntu/+source/software-center/+question/112136

Do NOT copy-paste the contents from your Email client into the gedit editor, or else the contents of the sources.list file will get corrupted by the copy-paste operation!

#### START OF sources.list FILE

deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse

### END OF FILE

SAVE changes to file. Exit gedit editor.

Open a Terminal and enter the following commands AGAIN:

sudo rm /var/lib/apt/lists/lock
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 aptitude clean
LANG=C;sudo aptitude autoclean
LANG=C;sudo apt-get update
sudo dpkg --clear-avail
sudo aptitude purge texlive-base
sudo aptitude purge tex-common
sudo aptitude purge texlive-binaries
sudo dpkg --configure -a
LANG=C;sudo aptitude install -f
LANG=C;sudo aptitude update
LANG=C;sudo aptitude dist-upgrade

Hopefully this will help. If not, then reinstall Ubuntu 10.04 from a LiveCD session.

Revision history for this message
Deb (debscreek) said :
#8

I decided that I would reinstall the Ubuntu 10,04 again and start over. I had started using Ubuntu by downloading 9.10 from a disk and later when asked if I wanted to upgrade to the 10.04, I did.
You stated that I had mixed the 9.10 and 10.04 software repositories and it had caused the problem. I don't know what software repositories are but I'll try not to mix them again.
I appreciate your time and help.

Thank you again
Deb

--- On Mon, 5/24/10, Mark Rijckenberg <email address hidden> wrote:

From: Mark Rijckenberg <email address hidden>
Subject: Re: [Question #112136]: Trouble installing and uninstalling programs
To: <email address hidden>
Date: Monday, May 24, 2010, 10:27 PM

Your question #112136 on software-center in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/software-center/+question/112136

    Status: Open => Answered

Mark Rijckenberg proposed the following answer:
The problem is that you are running Ubuntu 10.04, but you are mixing
software repositories from Ubuntu 9.10 (karmic) and Ubuntu 10.04 (lucid)
in your /etc/apt/sources.list file.

Mixing like this should NEVER be done as it will screw up your Ubuntu
install. It should only contain repositories from lucid (Ubuntu 10.04)
Too much damage to your 10.04 packages may have already been done, but
you could try the following procedure (instead of a clean re-install of
Ubuntu 10.04)

Run the following command in the Terminal:

gksudo gedit /etc/apt/sources.list

REMOVE all the contents of that file /etc/apt/sources.list and REPLACE
it with the following contents:

!!!!!!IMPORTANT!!!!!!!: make sure to copy-paste the contents below into
the gedit editor using a WEBBROWSER  like Firefox by visiting this
website using Mozilla Firefox:

https://answers.launchpad.net/ubuntu/+source/software-
center/+question/112136

Do NOT copy-paste the contents from your Email client into the gedit
editor, or else the contents of the sources.list file  will get
corrupted by the copy-paste operation!

#### START OF sources.list FILE

deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse

### END OF FILE

SAVE changes to file. Exit gedit editor.

Open a Terminal and enter the following commands AGAIN:

sudo rm /var/lib/apt/lists/lock
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 aptitude clean
LANG=C;sudo aptitude autoclean
LANG=C;sudo  apt-get update
sudo dpkg --clear-avail
sudo aptitude purge texlive-base
sudo aptitude purge tex-common
sudo aptitude purge texlive-binaries
sudo dpkg --configure -a
LANG=C;sudo aptitude install -f
LANG=C;sudo aptitude update
LANG=C;sudo aptitude dist-upgrade

Hopefully this will help. If not, then reinstall Ubuntu 10.04 from a
LiveCD session.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+source/software-center/+question/112136/+confirm?answer_id=6

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+source/software-center/+question/112136

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#9

You're welcome. If this issue is solved, please set the thread status to "solved".

In the future, please do not include the whole history of text that I sent to you. Only send your own response and remove the text from the Email that was sent previously. It is very difficult for others to read this thread because of that.

Even better is to send your response by using a webbrowser and going to the newly created answers.launchpad.net thread.

In this case, the page was:

https://answers.launchpad.net/ubuntu/+source/software-center/+question/112136

Revision history for this message
Deb (debscreek) said :
#10

Thanks Mark Rijckenberg, that solved my question.