LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-07-2013, 09:49 PM   #1
kcredden
Member
 
Registered: Jul 2006
Posts: 38

Rep: Reputation: 0
Synaptic install problem on D7/Wheezy


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.
 
Old 05-07-2013, 10:06 PM   #2
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
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:

Code:
apt-get update
apt-get install synaptic
 
Old 05-07-2013, 11:35 PM   #3
kcredden
Member
 
Registered: Jul 2006
Posts: 38

Original Poster
Rep: Reputation: 0
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 View Post
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:

Code:
apt-get update
apt-get install synaptic
 
Old 05-08-2013, 01:01 AM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Post your /etc/apt/sources.list
http://packages.debian.org/wheezy/synaptic
 
Old 05-08-2013, 03:58 AM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Here it is:
Quote:
Package synaptic

wheezy (stable) (admin): Graphical package manager
0.75.13: amd64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390 s390x sparc
Are you running one of those architectures?
Eddy1's link is always a good one for searching for packages or downloading them.
jdk
 
Old 05-08-2013, 04:28 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Code:
tobi@server ~ ☺ $ apt-cache policy synaptic  
synaptic:
  Installed: (none)
  Candidate: 0.75.13
  Version table:
     0.75.13 0
        500 http://ftp.tu-chemnitz.de/pub/linux/debian/debian/ wheezy/main i386 Packages
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.
 
Old 05-08-2013, 09:59 AM   #7
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Post output
Code:
$ cat /etc/apt/sources.list
 
Old 05-08-2013, 10:30 AM   #8
kcredden
Member
 
Registered: Jul 2006
Posts: 38

Original Poster
Rep: Reputation: 0
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:~$

--
This is also kde 4.8.4 (4.8.4)
 
Old 05-08-2013, 10:43 AM   #9
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
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
If you do not want to use the us mirror, choose a mirror here: http://www.debian.org/mirror/list

Do
Code:
# apt-get update
before trying to install anything.

Last edited by cynwulf; 05-08-2013 at 10:44 AM.
 
1 members found this post helpful.
Old 05-08-2013, 11:56 AM   #10
kcredden
Member
 
Registered: Jul 2006
Posts: 38

Original Poster
Rep: Reputation: 0
[solved]

caravel

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 View Post
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
If you do not want to use the us mirror, choose a mirror here: http://www.debian.org/mirror/list

Do
Code:
# apt-get update
before trying to install anything.
 
Old 09-03-2013, 10:35 AM   #11
rsottini
LQ Newbie
 
Registered: Jun 2008
Location: Ushuaia, Argentina
Distribution: Ubuntu 8.04
Posts: 6

Rep: Reputation: 0
The solution of Cynwulf works for me too! I reinstall Debian today and I had the problem about installing Synaptic.
My repositories:

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

deb http://ftp.us.debian.org/debian/ wheezy main
#deb-src http://ftp.us.debian.org/debian/ wheezy 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


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

Thanks!
 
Old 09-03-2013, 10:42 AM   #12
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Quote:
Originally Posted by rsottini View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wheezy: After Installation Synaptic requires DVD 1 yeehi Debian 2 01-18-2013 04:48 AM
LXer: File under 'disturbing': Debian Wheezy doesn't ship with the Synaptic Package Manager LXer Syndicated Linux News 1 08-22-2012 07:03 AM
Synaptic in Wheezy; is this a bug, or my error? Knightron Debian 8 07-19-2012 04:42 AM
apt-get install synaptic / aptitude install synaptic not working :S LittlePenguin Linux - Newbie 5 01-19-2011 07:25 AM
Error with Adept: cannot commit changes-problem with synaptic install jude254 Linux - Software 5 10-12-2007 06:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration