saned needs to be reinstalled

Asked by WNPatters

I tried to install KBackgammon and received this message:

E: The package saned needs to be reinstalled, but can't find an archive for it.
E: Internal error opening chache(1).

I tried:
sudo apt-get update
sudo apt-get -f install

to fix, but received the same error messages as above.

Bill

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
WNPatters
Solved:
Last query:
Last reply:
Revision history for this message
weldan jamili (ibnujamili) said :
#1

Couldn't find any package matching "saned". However, the following
packages contain "saned" in their description:
  sane-utils libsane

got this when i tried to "aptitude install saned".

maybe you should remove current sane-utils and libsane and re-install it back. just my suggestion. :)

Revision history for this message
WNPatters (wnpatters) said :
#2

I tried:

sudo aptitude remove sane

Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages have been kept back:
  ekiga gnupg libspeex1 locales
0 packages upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Error!
E: I wasn't able to locate a file for the saned package. This might mean you need to manually fix this package. (due to missing arch)
E: Couldn't lock list directory..are you root?

Any ideas on what to do next?

Bill

Revision history for this message
weldan jamili (ibnujamili) said :
#3

this is what i do. step-by-step.

sudo su

enter your password

aptitude remove sane-utils

aptitude remove libsane

aptitude install sane-utils

aptitude install libsane

aptitude install kbackgammon

Revision history for this message
WNPatters (wnpatters) said :
#4

Above did not work, received the same error messages as before.

E: I wasn't able to locate a file for the saned package. This might mean you need to manually fix this package. (due to missing arch)
E: Couldn't lock list directory..are you root?

Revision history for this message
weldan jamili (ibnujamili) said :
#5

:\ i couldn't find what is your problem exactly.

"E: I wasn't able to locate a file for the saned package. This might mean you need to manually fix this package. (due to missing arch)
E: Couldn't lock list directory..are you root?"

you must be r00t to perform apt-get or aptitude command. that's what i know.

I'm sorry if i don't answered your question suits your need.

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

sudo su <- enter this command

then it will ask for your password.
then enter your user name password.

after you become to root user, enter another command step-by-step.

aptitude remove sane-utils <- enter this

aptitude remove libsane <- then enter this

aptitude install sane-utils <- then enter this

aptitude install libsane <- then enter this

aptitude install kbackgammon <-- then enter this

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

if you have tried this and it still won't work as before, i have no idea. he he. I'm sorry. Maybe we should wait for others.

Revision history for this message
WNPatters (wnpatters) said :
#6

I did all that and received the same errors. I am ready to just reinstall linux from the CD to fix.

Revision history for this message
Best WNPatters (wnpatters) said :
#7

I reloaded linux and that solved my problem.