language-selector-gnome - archive not found

Asked by Robert Melson

Error message: "An oeeor occurred, please run Package Manager from the right-click menu or apt-get in a terminal to see what is wrong. The error message was "Unknown Error::'<class 'SystemError'>'(E:The package language-selector-gnome needs to be reinstalled, but I can't find an archive for it)'. This usually means that ;your installed packages have unmet dependencies."

Error first appeared after an upgrade failed while reading the package database and caused the system to freeze. Every attempt to use apt-get, dpkg, Software Center, upgrade-manager (from command line) has resulted in the same error message.

I'd really like to be able to perform routine updates, which I'm currently unable to do.

System: 16.04 (amd64)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

apt-cache policy language-selector-gnome; lsb_release -a; uname -a

Thanks

Revision history for this message
Robert Melson (melson-r) said :
#2

As requested:
language-selector-gnome:    installed: 0.165.3    candidate: 0.165.3    version table:    *** 0.165.3 100        100 /var/lib/dpkg/statusNo LSB modules are availableDistributor ID:  UbuntuDescription:  Ubuntu 16.04.1 LTSRelease:  16.04Codename:  xenial
Linux galadriel 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 X86_64 X86-64 X86_64 GNU/Linux

      From: actionparsnip <email address hidden>
 To: <email address hidden>
 Sent: Monday, August 15, 2016 2:17 PM
 Subject: Re: [Question #345699]: language-selector-gnome - archive not found

Your question #345699 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/345699

    Status: Open => Needs information

actionparsnip requested more information:
What is the output of:

apt-cache policy language-selector-gnome; lsb_release -a; uname -a

Thanks

--
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/+question/345699

You received this question notification because you asked the question.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

OK, if you run:

sudo apt-get -f install

Is it OK?

Revision history for this message
Robert Melson (melson-r) said :
#4

Ran the command below, but it did not work.  Returned:"E: The package language-selector-gnome needs to be reinstalled, but I can't find an archive for it."

      From: actionparsnip <email address hidden>
 To: <email address hidden>
 Sent: Tuesday, August 16, 2016 12:23 AM
 Subject: Re: [Question #345699]: language-selector-gnome - archive not found

Your question #345699 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/345699

    Status: Open => Needs information

actionparsnip requested more information:
OK, if you run:

sudo apt-get -f install

Is it OK?

--
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/+question/345699

You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

You seem to have a wrong configuration of the defined software repositories.
Please provide the output of the following commands:

sudo dpkg --audit
cat /etc/apt/sources.list

Revision history for this message
Robert Melson (melson-r) said :
#6

Manfred:

Thanks. Out put from the commands follows:

dpkg --audit:
The following packages are in a mess due to serious problems during installation. They must be reinstalled for them (and any packages that depend on them) to function properly:
   language-selector-gnome Language selector for Ubuntu
---
cat /etc/apt/sources.list (rather lengthy cut'n'paste between machines):
# deb cdrom:[Ubuntu 14.04.2 LTS_Trusty Tahr_ - Release amd64 (20150218.1] trusty main restricted

#See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
#newer version of the distribution

## Major bug fix updates produced after the fina release of the
## distribution

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

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free license. 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.

## N.B. software from this repository may not have ben 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://security.ubuntu.com/ubuntu xenial-security main
deb-src http://security.ubuntu.com/ubuntu xenial-security main

## 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 xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner

------
A further question: if, as dpkg --audit indicates, I will have to rreinstall language-selector, where would I find the necessary package? Although I've been doing unix for years, I'm relatively new to Linux and am only now becoming moderately comfortable.

Thanks again.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#7

There are several repository sources missing that usually are available on Ubuntu systems.
Have you cut down the list of repositories on purpose?
What makes your problem worse is that the version of language-selector-gnome that you have installed is not available on your current sources.

What I recommend to get the package management back into a consistent status is a manual installation of the version of language-selector-gnome that you have.

Download the file

https://launchpad.net/ubuntu/+source/language-selector/0.165.3/+build/9815514/+files/language-selector-gnome_0.165.3_all.deb

into a suitable directory (e.g. your Downloads directory) and install it manually with the command

sudo dpkg --install Downloads/language-selector-gnome_0.165.3_all.deb

(change the directory name if appropriate)

Finally verify with
sudo dpkg --audit
whether there are still error messages shown.

Revision history for this message
Robert Melson (melson-r) said :
#8

Thank you. This appears to have solved my problem. I appreciate your time and expertise

Revision history for this message
Robert Melson (melson-r) said :
#9

Thank you.  That appears to have solved the problem: language-selector-gnome downloaded and installed correctly
, was then able to do an update without errors.
Still learning to speak Linux, which is enough different from BSD Unix that  it's sometimes impossible to do things intuitively.

      From: Manfred Hampl <email address hidden>
 To: <email address hidden>
 Sent: Tuesday, August 16, 2016 10:03 AM
 Subject: Re: [Question #345699]: language-selector-gnome - archive not found

Your question #345699 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/345699

    Status: Open => Answered

Manfred Hampl proposed the following answer:
There are several repository sources missing that usually are available on Ubuntu systems.
Have you cut down the list of repositories on purpose?
What makes your problem worse is that the version of language-selector-gnome that you have installed is not available on your current sources.

What I recommend to get the package management back into a consistent
status is a manual installation of the version of language-selector-
gnome that you have.

Download the file

https://launchpad.net/ubuntu/+source/language-
selector/0.165.3/+build/9815514/+files/language-selector-
gnome_0.165.3_all.deb

into a suitable directory (e.g. your Downloads directory) and install it
manually with the command

sudo dpkg --install Downloads/language-selector-gnome_0.165.3_all.deb

(change the directory name if appropriate)

Finally verify with
sudo dpkg --audit
whether there are still error messages shown.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/345699/+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/+question/345699

You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

Reinstalling the offending package was only the first step. I recommend doing more.

In my opinion it is advisable to enable also the xenial-updates software repository to receive program improvements. You currently accept only updates marked as security related.

What is now the output of the commands

sudo dpkg --audit
sudo apt-get update
sudo apt-get dist-upgrade
ubuntu-support-status

Revision history for this message
Robert Melson (melson-r) said :
#11

I had purposely disabled some of the updates, thinking I might be able to work around the problem that way - obviously, it didn't work.  I've since enabled all updates.
Command output:
dpkg --audit:  nothingapt-get update:Hit:1 htt[p://archive.canonical.com/ubuntu xenial InReleaseGet:2: http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]Hit:3 http://us.archive.ubuntu.com/ubuntu xenial InReleaseGet:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB]Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InReleaseGet:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [88.6 Kb]Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [89.9 Kb]Fetched 369 kB in 6s (55.1 kB/s)Reading package lists ... Done
apt-get dist-upgrade:Reading package lists ... doneBuilding dependency treeReading state information ... doneCalculating upgrade ... done0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
ubuntu-support-status:Support status summary of 'galadriel':
You have 71 packages (3.0%) supported until January 2017 (9m)You have 1911 packages (81.5%) supported until April 2021 (5y)You have 11 packages (0.5%) supported until May 2017 (9m)You have 86 packages (3.7%) supported until April 2019 (3y)
You have 152 packages (6.5%) that can not/no-longer be downloadedYou have 114 packages (4.9%) that are unsupported
Run with --show-unsupported, --show-supported or --show-all to see more details.

      From: Manfred Hampl <email address hidden>
 To: <email address hidden>
 Sent: Wednesday, August 17, 2016 12:37 AM
 Subject: Re: [Question #345699]: language-selector-gnome - archive not found

Your question #345699 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/345699

Manfred Hampl posted a new comment:
Reinstalling the offending package was only the first step. I recommend
doing more.

In my opinion it is advisable to enable also the xenial-updates software
repository to receive program improvements. You currently accept only
updates marked as security related.

What is now the output of the commands

sudo dpkg --audit
sudo apt-get update
sudo apt-get dist-upgrade
ubuntu-support-status

--
You received this question notification because you asked the question.