-
Member
registered user
apt issues
Hiya.
In a new hdd install of Knoppix 3.3, apt won't cooperate. The sources.list was huge and apt-get update caused tons of 404 errors; no there's nothing wrong with my connection.
I shrank it to a single source, deb http://ftp.us.debian.org/debian unstable main contrib non-free and it apt-get updated properly. But then I tired to apt-get install gnome and it yelled at me saying it depended on gnome-desktop-environment.
Err... I thought the whole point of apt-get was to automatically resolve these kinds of dependencies?
Anyway I kept adding stuff it depended on to the apt-get statement until it finally started downloading GNOME which I am doing now.
How can I reconfigure apt so that when I tell it to apt-get something like this in the future it automatically resolves all those dependencies?
-
Senior Member
registered user
Hi,
Have you read the apt-get/dpkg tutorial that is made sticky at the top of this or the general forum? If you need to check to see if a package will install without problems, you type:
Code:
apt-get -s install -t testing gnome
to get gnome from testing,
Code:
apt-get -s install -t unstable gnome
to get gnome from unstable. This is known as apt-pinning. IOW, you're telling apt-get to get packages from testing and resolve with stable versions if needed (option #1), or get packages from unstable and resolve with testing versions if needed. (option #2). Without the -t (testing or unstable) option, you're just telling apt-get to get whatever recent package it can find without checking the resolves to a prior version. But don't take my word for it, search google for apt-get and you should get a ton of hits about it.
Similar Threads
-
By enemorales in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 11-24-2004, 10:39 AM
-
By _paul in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 11-10-2004, 01:38 PM
-
By cold in forum General Support
Replies: 1
Last Post: 06-02-2004, 07:29 PM
-
By Cuddles in forum General Support
Replies: 12
Last Post: 04-25-2004, 03:40 PM
-
By rushworld in forum General Support
Replies: 8
Last Post: 10-14-2003, 03:23 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD
$69.99
Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch
$109.99
WD4000FYYZ Western Digital 4TB SATA 3.5 Hard Drive
$149.99
WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F
$25.00
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$82.99
Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive
$29.99
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$26.85
Western Digital WD5000LPLX 500GB 2.5" SATA 32MB 6Gb/s 7200RPM Laptop Hard Drive
$7.99
WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN
$174.99
Western Digital WD4000FYYZ RE 4TB 7200 RPM 64MB Cache SATA 6Gb/s 3.5" Hard Drive
$28.43