LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-04-2004, 04:49 PM   #1
efi360
Member
 
Registered: Feb 2004
Location: San Antonio, TX.
Distribution: Debian
Posts: 71

Rep: Reputation: 15
Question problem with apt


I am using bonzi linux wich is a barebones version of debian. I have it installed on hard drive ,has KDE desktop and it works fine but I cant get apt to update keeps saying done but does not update. also when tring to install any thing for example (apt-get install kdeyoys) says can not find packeges I am new to apt and dont realy know how to procede to fix this. Any Help apreciated, Thanks efi360.

efi@Box2:~$ su
Password:
Box2:/home/efi# apt-get update
Reading Package Lists... Done
Building Dependency Tree... Done
Box2:/home/efi#

Box2:/home/efi# apt-get install kdetoys
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package kdetoys
Box2:/home/efi#
Box2:/home/efi# apt-get install kdegames
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package kdegames
Box2:/home/efi#
 
Old 04-04-2004, 06:53 PM   #2
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
Do you have anything in /etc/apt/sources.list? If so, what?
 
Old 04-04-2004, 07:09 PM   #3
efi360
Member
 
Registered: Feb 2004
Location: San Antonio, TX.
Distribution: Debian
Posts: 71

Original Poster
Rep: Reputation: 15
This is what is in there but I dont know if it is what is supposed to be there, I never looked at /etc/apt sources.list when i tried knoppix or kanotix is it correct ? Thanks for help

# /etc/apt/sources.list created by Bonzai Linux

# deb ftp://security.debian.org/debian-security stable/updates main

# KDE - please replace x.x.x with the current KDE version.
# deb ftp://ftp.uni-kl.de/pub/linux/kde/stable/x.x.x/Debian woody main

deb cdrom:[Debian GNU/Linux 3.0 (woody) - Bonzai Linux]/ stable contrib main
 
Old 04-04-2004, 07:30 PM   #4
llamakc
Member
 
Registered: Nov 2003
Distribution: Debian & Ubuntu
Posts: 402

Rep: Reputation: 31
You are using one cd, so an apt-get update is useless unless you obtain an updated cd. These packages may reside on cd2, cd3, etc if you have them. If you don't have them and have a decent net-connection, let us know.
 
Old 04-04-2004, 07:59 PM   #5
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
uncomment the security update and add this line as well:

deb http://ftp.us.debian.org/debian/ stable main

You could add contrib and non-free as well:

deb http://ftp.us.debian.org/debian/ testing main contrib non-free

apt-get update
apt-get install "whatever"

apt-get upgrade or dist-upgrade will keep your internet connection busy for a while.

You could use a MIRROR closer to you if you like.
 
Old 04-04-2004, 08:52 PM   #6
efi360
Member
 
Registered: Feb 2004
Location: San Antonio, TX.
Distribution: Debian
Posts: 71

Original Poster
Rep: Reputation: 15
Thanks for all the help Kind of Working)

Thanks for all the help
bonzai linux only comes with one cd but i did what was sugested took out # and added kde version and added a couple sources now apt is working. but am getting error
would like to lern more about sources. Can i add sources for unstable and testing or will things break

Here is what is in /est/apt/sources now

# /etc/apt/sources.list created by Bonzai Linux

deb ftp://security.debian.org/debian-security stable/updates main
deb http://ftp.us.debian.org/debian/ stable main
deb ftp://ftp.uni-kl.de/pub/linux/kde/stable/3.1.4/Debian woody main
deb http://ftp.us.debian.org/debian/ testing main contrib non-free
deb cdrom:[Debian GNU/Linux 3.0 (woody) - Bonzai Linux]/ stable contrib main

Here is what happend at update

Box2:~# apt-get update
Hit http://ftp.us.debian.org stable/main Packages
Hit http://ftp.us.debian.org stable/main Release
Hit http://ftp.us.debian.org testing/main Packages
Hit http://ftp.us.debian.org testing/main Release
Hit http://ftp.us.debian.org testing/contrib Packages
Hit http://ftp.us.debian.org testing/contrib Release
Hit http://ftp.us.debian.org testing/non-free Packages
Hit http://ftp.us.debian.org testing/non-free Release
Hit ftp://security.debian.org stable/updates/main Packages
Hit ftp://security.debian.org stable/updates/main Release
Hit ftp://ftp.uni-kl.de woody/main Packages
Hit ftp://ftp.uni-kl.de woody/main Release
Reading Package Lists... Error!
E: Dynamic MMap ran out of room
E: Error occured while processing subversion (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/ftp.us.debian.org_debian_dists_testing_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
Box2:~#
 
Old 04-04-2004, 08:59 PM   #7
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
deb http://ftp.us.debian.org/debian/ stable main
deb ftp://ftp.uni-kl.de/pub/linux/kde/stable/3.1.4/Debian woody main

comment those out and see if you can apt-get update without error
 
Old 04-04-2004, 09:19 PM   #8
efi360
Member
 
Registered: Feb 2004
Location: San Antonio, TX.
Distribution: Debian
Posts: 71

Original Poster
Rep: Reputation: 15
Thanks vectordrake that did the trick,
Do yo think thoughs sources conflicted should i delete them out?
What other sources could I add
 
Old 04-04-2004, 09:41 PM   #9
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
There's a site that has a lot of "private" packages - ones that aren't on the Debian site. Let me see if i can remember it. Something like people.debian.org or whatever. It has stuff like the newest KDE and Gnome for Woody, instead of moving to Sarge or Sid. You might want to add the blackdown site for java. There's a Debian tree on it. Good for easy upgrades.

Sarge is not actually a bad choice right now, as its nearly ready to be released as stable, which will put Woody on the old "frozen" list, like Potato. Keep the security site, as any security updates will still come in for packages that don't get upgraded with apt-get upgrade.

By the way, since you have a testing source now, if you want to actually do the upgrade (not a bad plan), then you should do it in this order:
apt-get update
apt-get upgrade
apt-get dist-upgrade
(then you can apt-get clean if you wnat to clear the var/dpkg list for disk space)

Some would advocate skipping the apt-get upgrade and going straight to dist-upgrade. I reccomend you do as I have layed out. When I have installed from the stable floppies (I usually do a network install of the base system and then upgrade to testing right away and then add my extras like "X" and KDE, etc), I have found that an upgrade to a newer 'version' like testing or unstable goes better with fewer broken packages that way.

I think apt crapped out on you because the stable source was listed in order before the testing source. If you switch them, it may resolve fine. I have done that from unstable and testing. However its not necessary to do it that way.

Your line for KDE is okay, you know if you want 3.1.4, but usually, KDE gets into Debian unstable in short order. If you have their deb source for updating KDE, sometimes there are version conflicts and you'll go with unresolved dependancies for weeks or months (if it upgrades only partly, you may even lose what you have with nothing to replace it. Better to not mix sources too much. If you want 3.2, you'll have to point to the right folder on the server. If its in sarge, forget about it.

here's my /etc/apt/sources.list for my Sarge install:

deb http://mirror.look.ca/linux/debian/ testing main
deb-src http://mirror.look.ca/linux/debian/ testing main
deb http://security.debian.org/ stable/updates main

deb http://ftp.us.debian.org/debian/ testing main
deb-src http://ftp.us.debian.org/debian/ testing main


I haven't added contrib and non-free yet (new install). Notice that I have two servers listed. One is a fast mirror here in Canada, so I have that listed first. I have a cable connection so I may as well get the most I can out of it. If you wnat to take a while and find a fast mirror (or two) from where you're at, download apt-spy and run it for a while (read the man page first so you don't spend the next 24+ hours checking the mirrors all over the world). It'll help you generate a sources.list from fast servers. Don't bother changing the security source. testing is not updated for security bugs. Only stable and unstable are.
 
Old 04-05-2004, 02:13 AM   #10
efi360
Member
 
Registered: Feb 2004
Location: San Antonio, TX.
Distribution: Debian
Posts: 71

Original Poster
Rep: Reputation: 15
Thanks vectordrake,
I copied and pasted your sources in my file then did the update, upgrade. dist-upgrade and now I have kde3.1.5 all works good and I installed all of the bell & whistels I wanted for kde , mozilla ,xmms etc...
Now all I have to do is figure out how to get my other windows partition hda1 and second hd =hdb1 showing in kwickdisk so I can mount it and get to my music for xmms, the only mount point showing is linux hdb6, cd's & floppy any ideas on that one
 
Old 04-05-2004, 05:56 PM   #11
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Yep. Are you booting with LILO or GrUB?

Last edited by vectordrake; 04-05-2004 at 05:58 PM.
 
Old 04-05-2004, 10:47 PM   #12
efi360
Member
 
Registered: Feb 2004
Location: San Antonio, TX.
Distribution: Debian
Posts: 71

Original Poster
Rep: Reputation: 15
I am using LiLO why?
 
Old 04-05-2004, 10:50 PM   #13
efi360
Member
 
Registered: Feb 2004
Location: San Antonio, TX.
Distribution: Debian
Posts: 71

Original Poster
Rep: Reputation: 15
P.s. sorry for not replying sooner but small thing like my job got in my way.
Oh well back to my fun stuff
 
Old 11-18-2005, 01:01 AM   #14
wren11
LQ Newbie
 
Registered: Nov 2005
Location: St. Clair Shores, Michigan
Distribution: Kanotix, Debian, maybe more later
Posts: 2

Rep: Reputation: 0
Question similar problem

I am having an error similar to one you halped some one with earlier, except I don't quite understand how you are saying to fix it. I am running Kanotix on a 6 year old laptop. Synaptic and apt-get are giving me the following error:

E: Dynamic MMap ran out of room
E: Error occured while processing subversion (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/ftp.us.debian.org_debian_dists_testing_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

Is there a relatively easy way for a person with limited knowledge of command line to fix it?

Thanx
Wren
 
Old 11-18-2005, 06:18 PM   #15
wren11
LQ Newbie
 
Registered: Nov 2005
Location: St. Clair Shores, Michigan
Distribution: Kanotix, Debian, maybe more later
Posts: 2

Rep: Reputation: 0
I figured out how to fix my apt-get issue. The problem was that I added some cd iso's to the synaptic package list. Something on the cd's must have conflicted. Once I used the synaptic settigs and took the cd's off the list, the problem was solved.
Wren
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Apt-get problem davholla Debian 3 07-01-2005 04:23 PM
problem with apt get waelali Linux - Software 1 03-12-2005 06:55 AM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 11:54 PM
apt-get problem mmm Linux - General 1 11-11-2003 02:53 PM
apt-get problem qod Linux - Software 4 10-26-2003 06:10 PM

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

All times are GMT -5. The time now is 11:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration