DebianThis forum is for the discussion of Debian Linux.
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.
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.
Folks: Am I the only one having problem installing synaptic on Debian 7/KDE?
I get this every-time I do a 'apt-get upgrade/apt-get install synaptic.
root@equuleus:/etc/apt# apt-get install synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package synaptic 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 'synaptic' has no installation candidate
root@equuleus:/etc/apt#
Is there a specific synaptic repository I can put into /etc/apt/sources.list?
Is there a .DEB file that I can use to install it?
Should I abandon Debian 7 for v6 for now?
What's your thoughts? I'd like to go with D7 if I can.
The first command you should run is apt-get update, not "apt-get upgrade". Whilst the first update the list of packages available on the repositories, the latter upgrades the system. So:
Hm. I should have copy/pasted all I did then. My goof. But yes, I meant apt-get update.
Still get the same problem'
Thanks for the alert to clear up my error.
Quote:
Originally Posted by odiseo77
The first command you should run is apt-get update, not "apt-get upgrade". Whilst the first update the list of packages available on the repositories, the latter upgrades the system. So:
It clearly is in Debian's main repository, so may it be that the mirror you use is not an official Debian mirror and simply lacks that package?
As EDDY1 already asked, show us your sources.list.
As requested, I'm posting the Sources.list, and some more information about the install.
I want to note that this install is directly from Debian.org, a full KDE CD install version. I haven't made a single change, for installing synaptic is always the first step. With D5 and 6 I never had a problem with installing synaptic. The sources.list is stock too. I have a full list, on my main system which has not been copied here yet.
My sources.list file
Code:
#
# deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official i386 kde-CD Binary-1 20130504-15:18]/ wheezy main
deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official i386 kde-CD Binary-1 20130504-15:18]/ wheezy main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
deb http://ftp.debian.org/debian/ wheezy-updates main
deb-src http://ftp.debian.org/debian/ wheezy-updates main
Also some additional information that may be useful.
The command that I normally do to install synaptic.(Just re-did it to make sure I wasn't screwing up)
Code:
root@equuleus:/home/kcredden# apt-get update
Ign cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official i386 kde-CD Binary-1 20130504-15:18] wheezy Release.gpg
Ign cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official i386 kde-CD Binary-1 20130504-15:18] wheezy Release
Ign cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official i386 kde-CD Binary-1 20130504-15:18] wheezy/main i386 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official i386 kde-CD Binary-1 20130504-15:18] wheezy/main Translation-en_US
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://security.debian.org wheezy/updates Release
Get:1 http://ftp.debian.org wheezy-updates Release.gpg [836 B]
Get:2 http://ftp.debian.org wheezy-updates Release [116 kB]
Hit http://security.debian.org wheezy/updates/main Sources
Hit http://security.debian.org wheezy/updates/main i386 Packages
Hit http://security.debian.org wheezy/updates/main Translation-en
Get:3 http://ftp.debian.org wheezy-updates/main Sources [14 B]
Get:4 http://ftp.debian.org wheezy-updates/main i386 Packages [14 B]
Get:5 http://ftp.debian.org wheezy-updates/main Translation-en [14 B]
Fetched 117 kB in 2s (58.4 kB/s)
Reading package lists... Done
root@equuleus:/home/kcredden# apt-get install synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package synaptic 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 'synaptic' has no installation candidate
root@equuleus:/home/kcredden#
And finally some data:
kcredden@equuleus:~$ cat /proc/version
Linux version 3.2.0-4-686-pae (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-15) ) #1 SMP Debian 3.2.41-2
kcredden@equuleus:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.0 (wheezy)
Release: 7.0
Codename: wheezy
kcredden@equuleus:~$
The cause of the problem is stated clearly in your sources.list file. Replace your sources with the one below and all should be well.
Code:
#deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official i386 kde-CD Binary-1 20130504-15:18]/ wheezy main
#deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official i386 kde-CD Binary-1 20130504-15:18]/ wheezy main
deb http://ftp.us.debian.org/debian/ wheezy main
#deb-src http://ftp.us.debian.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
#deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as 'volatile'
deb http://ftp.debian.org/debian/ wheezy-updates main
#deb-src http://ftp.debian.org/debian/ wheezy-updates main
Thanks for the help. That solved the problem; such a simple thing. I suspected it would be easy to fix, just lost in the forest it seems.
Anyway, another problem popped up but this problem is at least solved.
Thanks again.
- Kc
Quote:
Originally Posted by caravel
The cause of the problem is stated clearly in your sources.list file. Replace your sources with the one below and all should be well.
Code:
#deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official i386 kde-CD Binary-1 20130504-15:18]/ wheezy main
#deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official i386 kde-CD Binary-1 20130504-15:18]/ wheezy main
deb http://ftp.us.debian.org/debian/ wheezy main
#deb-src http://ftp.us.debian.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main
#deb-src http://security.debian.org/ wheezy/updates main
# wheezy-updates, previously known as 'volatile'
deb http://ftp.debian.org/debian/ wheezy-updates main
#deb-src http://ftp.debian.org/debian/ wheezy-updates main
# wheezy-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ wheezy-updates main
# deb-src http://ftp.debian.org/debian/ wheezy-updates main
I live in Argentina. But I can see in the lines above that I'm using ftp.us.debian.org. Where can I found an official complete list for all countries? I would like something like ftp.ar.debian.org
I live in Argentina. But I can see in the lines above that I'm using ftp.us.debian.org. Where can I found an official complete list for all countries? I would like something like ftp.ar.debian.org
You can find it here: http://www.debian.org/mirror/list. Scroll down to the secondary mirrors list, there are a couple of Argentinian mirrors there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.