Table of Contents
http://freshrpms.net/apt/repositories.html
A few known public apt repositories for entire Red Hat Linux releases (and eventually add-on packages) :
Many more custom packages available through apt can be found on the general links page.
Public mailing-list: freshrpms-list http://lists.freshrpms.net/mailman/listinfo/freshrpms-list
apt 0.3.19cnc55 for i386 compiled on Mar 22 2002 20:35:23
Usage: apt-get [options] command
apt-get [options] install pkg1 [pkg2 ...]
apt-get is a simple command line interface for downloading and
installing packages. The most frequently used commands are update
and install.
Commands:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
install - Install new packages
remove - Remove packages
source - Download source archives
dist-upgrade - Distribution upgrade, see apt-get(8)
clean - Erase downloaded archive files
autoclean - Erase old downloaded archive files
check - Verify that there are no broken dependencies
Options:
-h This help text.
-q Loggable output - no progress indicator
-qq No output except for errors
-S Show summary for upgrade operation and quit
-d Download only - do NOT install or unpack archives
-s No-act. Perform ordering simulation
-y Assume Yes to all queries and do not prompt
-f Attempt to continue if the integrity check fails
-m Attempt to continue if archives are unlocatable
-u Show a list of upgraded packages as well
-b Build the source package after fetching it
-K Verify signatures in individual packages and quit
-c=? Read this configuration file
-o=? Set an arbitary configuration option, eg -o dir::cache=/tmp--download-only
Download only; package files are only retrieved, not unpacked or
installed. Configuration Item: APT::Get::Download-Only.--show-upgraded
Show upgraded packages; Print out a list of all packages that
are to be upgraded. Configuration Item: APT::Get::Show-
Upgraded.--print-uris
Instead of fetching the files to install their URIs are printed.
Each URI will have the path, the destination file name, the size
and the expected md5 hash. Note that the file name to write to
will not always match the file name on the remote site! This
also works with the source and update commands. When used with
the update command the MD5 and size are not included, and it is
up to the user to decompress any compressed files. Configura-
tion Item: APT::Get::Print-URIs.--reinstall
Re-Install packages that are already installed and at the newest
version. Configuration Item: APT::Get::ReInstall.Use apt-get to install packages that you don't have.
% apt-get upgrade [...] 39 packages upgraded, 0 newly installed, 0 removed and 1 not upgraded. Need to get 23.2MB of archives. After unpacking 636kB will be used. Do you want to continue? [Y/n]
% apt-get install gnome Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done Package gnome has no available version, but exists in the database. This typically means that the package was mentioned in a dependency and never uploaded, has been obsoleted or is not available with the contents of sources.list However the following packages replace it: libcapplet0 gnome-utils gnome-media gnome-games control-center E: Package gnome has no installation candidate
% apt-get install gnome-utils control-center Reading Package Lists... Done Collecting File Provides... Done Building Dependency Tree... Done The following extra packages will be installed: fortune-mod gnome-panel libwnck xscreensaver The following NEW packages will be installed: control-center fortune-mod gnome-panel gnome-utils libwnck xscreensaver 0 packages upgraded, 6 newly installed, 0 removed and 40 not upgraded. Need to get 8992kB of archives. After unpacking 21.5MB will be used. Do you want to continue? [Y/n] y Get:1 http://apt.freshrpms.net redhat/8.0/en/i386/os fortune-mod 1.0-24 [1031kB]
# Fedora Extras non-US packages (optional) rpm http://rpm.livna.org fedora/1/i386 stable rpm-src http://rpm.livna.org fedora/1/i386 stable
# Macromedia Flash plug-in (optional) rpm http://sluglug.ucsc.edu/macromedia/apt fedora/1 macromedia
http://ftp.icm.edu.pl/pub/linux/mplayer-rpms/apt.html
What software can I find in this repository? We have MPlayer and some other software.
How do I access this repository? Download this file and place it in /etc/apt/sources.list.d/.
How to re-download/re-install the updated rpms?
% apt-get install --download-only krb5-libs openssl-devel openssl Reading Package Lists... Done Building Dependency Tree... Done krb5-libs is already the newest version. openssl-devel is already the newest version. openssl is already the newest version. 0 packages upgraded, 0 newly installed, 0 removed and 0 not upgraded.
% apt-get install --reinstall --download-only krb5-libs openssl-devel openssl Reading Package Lists... Done Building Dependency Tree... Done Reinstallation of krb5-libs is not possible, it cannot be downloaded. Reinstallation of openssl-devel is not possible, it cannot be downloaded. Reinstallation of openssl is not possible, it cannot be downloaded. 0 packages upgraded, 0 newly installed, 0 removed and 0 not upgraded.
Same result as above with the following commands:
apt-get install --simulate --reinstall --download-only krb5-libs
apt-get install --no-act --reinstall --download-only krb5-libs
apt-get install --reinstall krb5-libs
--download-only
Download only; package files are only retrieved, not unpacked or
installed. Configuration Item: APT::Get::Download-Only.--show-upgraded
Show upgraded packages; Print out a list of all packages that
are to be upgraded. Configuration Item: APT::Get::Show-
Upgraded.--print-uris
Instead of fetching the files to install their URIs are printed.
Each URI will have the path, the destination file name, the size
and the expected md5 hash. Note that the file name to write to
will not always match the file name on the remote site! This
also works with the source and update commands. When used with
the update command the MD5 and size are not included, and it is
up to the user to decompress any compressed files. Configura-
tion Item: APT::Get::Print-URIs.--reinstall
Re-Install packages that are already installed and at the newest
version. Configuration Item: APT::Get::ReInstall.cd /dos/drv_a1/Downloads/th72up
apt-get -o dir::cache=./i386 update apt-get -o dir::cache=./i386 install apt-get -o dir::cache=/dos/drv_a1/Downloads/th72up/i386 upgrade
— upgrade needs abs path
cd /dos/drv_a1/Downloads/th72up/i386 # apt-get -o dir::cache=/dos/drv_a1/Downloads/th72up/i386 install Processing File Dependencies... Done Reading Package Lists... Done Building Dependency Tree... Done 0 packages upgraded, 0 newly installed, 0 to remove(replace) and 104 not upgraded. cd /dos/drv_a1/Downloads/th72up wgd-s ftp://ftp.crc.ca/pub/systems/linux/redhat/ftp.redhat.com/linux/updates/7.2/en/os/i386/[] cd /dos/drv_a1/Downloads/th72up/i386 mkdir -p archives/partial mv -i * archives/ # move every pre-downloaded files into archive # apt-get -o dir::cache=/dos/drv_a1/Downloads/th72up/i386 upgrade Processing File Dependencies... Done Reading Package Lists... Done Building Dependency Tree... Done The following packages have been kept back ghostscript gphoto mod_perl mozilla mozilla-mail mozilla-psm perl printconf printconf-gui up2date up2date-gnome The following packages will be upgraded LPRng Mesa XFree86 XFree86-100dpi-fonts XFree86-75dpi-fonts XFree86-ISO8859-15-100dpi-fonts XFree86-ISO8859-15-75dpi-fonts XFree86-tools XFree86-twm XFree86-xdm XFree86-xfs Xconfigurator apache arts at authconfig bind bind-utils cyrus-sasl cyrus-sasl-md5 cyrus-sasl-plain docbook-utils docbook-utils-pdf dump e2fsprogs fetchmail foomatic glibc glibc-common groff groff-perl imlib initscripts iptables iptables-ipv6 jadetex libpcap libxml2 libxslt logwatch mod_ssl modutils mpg321 mutt nfs-utils nscd nss_ldap openldap openldap-clients openssh openssh-askpass openssh-clients openssh-server pam php php-imap php-ldap php-pgsql pine ppp python-xmlrpc raidtools redhat-config-network rhn_register rhn_register-gnome rmt rsync sane-backends sharutils squid stunnel sudo tetex tetex-afm tetex-dvilj tetex-dvips tetex-fonts tetex-latex tetex-xdvi tmpwatch ttfonts-ja tux ucd-snmp usermode util-linux vim-common vim-minimal vnc vnc-server webalizer wu-ftpd xsane zlib 93 packages upgraded, 0 newly installed, 0 to remove(replace) and 11 not upgraded. Need to get 25.3MB/117MB of archives. After unpacking 16.6MB will be used. Do you want to continue? [Y/n] y Get:1 http://apt.freshrpms.net redhat/7.2/en/i386/updates glibc-common 2.2.4-27 [10.5MB] Get:2 http://apt.freshrpms.net redhat/7.2/en/i386/updates glibc 2.2.4-27 [5197kB] Get:3 http://apt.freshrpms.net[] redhat/7.2/en/i386/updates docbook ...
$ apt-get install gaim
Reading Package Lists... Done
Collecting File Provides... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
Sorry, but the following packages have unmet dependencies:
gaim: PreDepends: gnome-core (>= 1.2)
libltdl: Obsoletes: libtool-libs but 1.4.2-12 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
$ apt-get install xine
Reading Package Lists... Done
Collecting File Provides... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
Sorry, but the following packages have unmet dependencies:
libltdl: Obsoletes: libtool-libs but 1.4.2-12 is to be installed
xine: Depends: xine-libs (= 0.9.13) but it is not going to be installed
Depends: libaa.so.1
Depends: libxine.so.0
Depends: libxineutils.so.0
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).