Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-03-2014, 04:17 PM
|
#1
|
Member
Registered: Mar 2008
Posts: 53
Rep:
|
apt-get broken no packages can install
Any packages i try to install all give me the same error. Even after I run apt-get update as root here is the error:
Code:
root@GoFlexSqueeze:~# apt-get install mc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'mc' has no installation candidate
root@GoFlexSqueeze:~#
my sources.list is also in order i think. Here it is:
Code:
root@GoFlexSqueeze:~# cat /etc/apt/sources.list
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
deb http://ftp.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze main contrib non-free
root@GoFlexSqueeze:~#
|
|
|
02-03-2014, 05:18 PM
|
#2
|
Member
Registered: Sep 2005
Distribution: Arch
Posts: 210
Rep:
|
Sources list look short to me but I don't know squeeze. How long do they keep old repos going? If apt-get update is working fine then apt-get is fine I would guess. They just cleaned out obsolete software. It happens. You will need to find and compile is what I'm thinking.
Last edited by Tadaen; 02-03-2014 at 05:23 PM.
|
|
|
02-03-2014, 11:39 PM
|
#3
|
Member
Registered: Mar 2008
Posts: 53
Original Poster
Rep:
|
*any* package i try fails.
|
|
|
02-04-2014, 05:15 AM
|
#4
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Quote:
Originally Posted by Tadaen
Sources list look short to me but I don't know squeeze.
|
The sources.list is OK, it has the main repositories and the security repositories.
Quote:
How long do they keep old repos going?
|
Squeeze repos will be available until May 2014.
Quote:
They just cleaned out obsolete software. It happens. You will need to find and compile is what I'm thinking.
|
No, that does not happen on Debian's Stable and Oldstable versions.
@actmnophn: Please provide the complete output of
Code:
apt-get update
apt-cache policy mc
|
|
|
02-04-2014, 05:21 AM
|
#5
|
Member
Registered: Feb 2014
Location: Europe
Distribution: Debian, Mint, Arch (multiboot)
Posts: 90
Rep: 
|
wow it seems there is sth wrong thereinafter your system.....
If I were you, I would reinstall apt-get architecture-driven command.
Or reinstall whole OS.....
|
|
|
02-04-2014, 07:37 AM
|
#6
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Quote:
Originally Posted by pingwinowiewc
wow it seems there is sth wrong thereinafter your system.....
If I were you, I would reinstall apt-get architecture-driven command.
Or reinstall whole OS.....
|
Why should the OP reinstall the system instead of just fixing it? This is not Windows where reinstalling is often the only reasonable choice due to its closed nature.
|
|
1 members found this post helpful.
|
02-04-2014, 11:10 AM
|
#7
|
Member
Registered: Mar 2008
Posts: 53
Original Poster
Rep:
|
I replaced mc with wicd-curses because thats what I really want to install and dont want to have confusion later on.
btw I also did try to reinstall apt before posting and it did not help...
Code:
root@GoFlexSqueeze:~# apt-get install apt --reinstall
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/2,143 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 26029 files and directories currently installed.)
Preparing to replace apt 0.8.10.3+squeeze1 (using .../apt_0.8.10.3+squeeze1_armel.deb) ...
Unpacking replacement apt ...
Setting up apt (0.8.10.3+squeeze1) ...
gpg: key F42584E6: "Lenny Stable Release Key <debian-release@lists.debian.org>" not changed
gpg: key 55BE302B: "Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>" not changed
gpg: key 6D849617: "Debian-Volatile Archive Automatic Signing Key (5.0/lenny)" not changed
gpg: key B98321F9: "Squeeze Stable Release Key <debian-release@lists.debian.org>" not changed
gpg: key 473041FA: "Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>" not changed
gpg: key 46925553: "Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>" not changed
gpg: key 65FFB764: "Wheezy Stable Release Key <debian-release@lists.debian.org>" not changed
gpg: Total number processed: 7
gpg: unchanged: 7
root@GoFlexSqueeze:~#
|
|
|
02-05-2014, 02:44 AM
|
#8
|
Senior Member
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
|
Looking good...
The reinstall of apt worked without error so wheres the real hickup? Ok mc was not found by apt but stayting that *any* package you install fails is wrong (see your output of apt-get install apt --reinstall).
In case you need a certain binary and can find which package it belongs to go to http://www.debian.org/distrib/packages and scroll down to "Search the contents of packages", hit the box with ", put in the name of the binary, hit " packages that contain files named like this " and go search it.
|
|
|
02-07-2014, 12:11 AM
|
#9
|
Member
Registered: Mar 2008
Posts: 53
Original Poster
Rep:
|
I am sorry I dont really understand what you mean.
|
|
|
02-07-2014, 12:28 AM
|
#10
|
Senior Member
Registered: Mar 2012
Posts: 1,882
|
Quote:
Originally Posted by actmnophn
Code:
root@GoFlexSqueeze:~# apt-cache policy wicd-curses
wicd-curses:
Installed: (none)
Candidate: (none)
Version table:
1.7.0+ds1-5+squeeze3 0
-10 http://ftp.debian.org/debian/ squeeze/main armel Packages
100 /var/lib/dpkg/status
|
The priority is set to -10 for some reason.
Do you have a /etc/apt/preferences file? (or something in preferences.d/)
|
|
1 members found this post helpful.
|
02-07-2014, 12:47 AM
|
#11
|
Member
Registered: Mar 2008
Posts: 53
Original Poster
Rep:
|
I do and here is what it says.
Code:
root@GoFlexSqueeze:~# cat /etc/apt/preferences
Package: *
Pin: release a=stable
Pin-Priority: 900
Package: *
Pin: release o=Debian
Pin-Priority: -10
root@GoFlexSqueeze:~# cat /etc/apt/preferences.d/*
Package: *
Pin: release n=ix, origin packages.omv-plugins.org
Pin-Priority: 995
Package: *
Pin: release n=donald, origin packages.omv-plugins.org
Pin-Priority: 995
Package: *
Pin: release n=glass, origin packages.omv-plugins.org
Pin-Priority: 995
Package: *
Pin: release n=omnius, origin packages.omv-plugins.org
Pin-Priority: 995
Package: *
Pin: release n=fedaykin, origin packages.omv-plugins.org
Pin-Priority: 995
Package: *
Pin: release n=fedaykin-armhf, origin packages.omv-plugins.org
Pin-Priority: 996
Package: *
Pin: origin ""
Pin-Priority: 995
root@GoFlexSqueeze:~#
|
|
|
02-07-2014, 01:06 AM
|
#12
|
Senior Member
Registered: Mar 2012
Posts: 1,882
|
Well there you go.
You have "stable" pinned to a priority of 900, but "squeeze" as the release in your sources.list
If you change the pinning in preferences to say "squeeze" (then update) it should work (unless the o=Debian overrides it - I dunno - but you now know what to fiddle with  ).
|
|
1 members found this post helpful.
|
02-07-2014, 09:30 AM
|
#13
|
Member
Registered: Mar 2008
Posts: 53
Original Poster
Rep:
|
I didn't fiddle with it. I axed it. Now it works. I renamed the file and:
Code:
root@GoFlexSqueeze:~# mv /etc/apt/preferences /etc/apt/preferences.bak
root@GoFlexSqueeze:~# apt-get update
Hit http://security.debian.org squeeze/updates Release.gpg
...
Reading package lists... Done
root@GoFlexSqueeze:~# apt-get install wicd-curses
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libffi5 libpcsclite1 python-dbus python-gobject python-iniparse
python-support python-urwid python-wicd wicd-daemon wpasupplicant
Suggested packages:
pcscd python-dbus-doc python-dbus-dbg python-gobject-dbg pm-utils wpagui
libengine-pkcs11-openssl
The following NEW packages will be installed:
libffi5 libpcsclite1 python-dbus python-gobject python-iniparse
python-support python-urwid python-wicd wicd-curses wicd-daemon
wpasupplicant
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,725 kB of archives.
After this operation, 6,698 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
...
Marking as solved.
Thanks!
|
|
|
All times are GMT -5. The time now is 02:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|