-
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
NetFu Firewall 1U, Intel CPU, 8 x Gigabit, SFP, w/ pfSense, Others, NEW OPTIONS
$541.85
Fortinet FortiGate-40C Network Security Firewall
$37.50
Cisco ASA5525-FTD-K9 Security Appliance with FirePower Services
$1000.00
Ubiquiti Networks USG Unifi Security Gateway Router/Firewall
$29.95
Fortinet Fortiwifi 60D FWF-60D Security Appliance Firewall Wifi VPN
$29.99
Ubiquiti Networks UniFi Security Gateway - White (USG-3P)
$49.00
NetGate SG-2440 with pfSense Plus Console GNU Router Firewall Security Appliance
$69.99
Protectli Vault FW4B-0-8-120, 4 Port Firewall / Mini PC 8GB RAM, 120GB SSD
$289.99
Fortinet Fortiwifi 60D FG-60D Security Appliance Firewall / VPN w/ AC Adapter
$34.97
FORTINET FG-500D FortiGate 500D, 10xGE RJ45 ports, 8xGE SFP slots Firewall
$126.00