Results 1 to 5 of 5

Thread: apt-get install help

  1. #1
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Wisconsin, USA
    Posts
    536

    apt-get install help

    trying to install the udate for xine and when I run apt-get install xine.... I get this:

    root@0[etc]# apt-get install http://aleron.dl.sourceforge.net/sou...b-1-rc5.tar.gz
    Reading Package Lists... Done
    Building Dependency Tree... Done
    W: Couldn't stat source package list http://www.videolan.org i386/ Packages (/var/lib/apt/lists/www.videolan.org_pub_videolan_debian_i386_Packages ) - stat (2 No such file or directory)
    W: You may want to run apt-get update to correct these problems

    how is this fixed. I know I added something like this to a file but don't remember where and when.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    Well friend that's not quite how apt works. You add sources (package repositories) to /etc/apt/sources.list. Then you use apt to install the package.

    To find a package:

    apt-get update
    apt-cache search xine
    apt-get install xine-ui

    HTH

  3. #3
    Senior Member registered user
    Join Date
    Jul 2004
    Location
    Wisconsin, USA
    Posts
    536
    Now trying to install libdvdcss2 with apt-get install libdvdcss2:

    root@0[apt]# apt-get install libdvdcss2
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Package libdvdcss2 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 libdvdcss2 has no installation candidate

    What does this mean?

  4. #4
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    wget http://download.videolan.org/pub/lib...2.8-1_i386.deb
    dpkg -i libdvdcss2_1.2.8-1_i386.deb

  5. #5
    Senior Member registered user
    Join Date
    May 2003
    Location
    Utrecht, The Netherlands
    Posts
    298
    I'll explain...
    apt-get searches for the package you want on a set of servers. of course, some servers have a certain piece of software that another server lacks. So you should search for certain servers that can provide the package YOU need.

    the list of servers is saved in the file /etc/apt/sources.list. you can edit it by hand (eg "mcedit /etc/apt/sources.list" or use kate/kwrite. remember you must be root to change it - su is your friend).

    when you do an "apt-get update", the list of available software on the servers is refreshed. then you can install software.

    but what did the first error you had, mean? well, apt-get wasnt able to get software-info from one of the servers, http://www.videolan.org. so you have to check if its entered properly in the sources.list file, and if the server exists and is online. then do apt-get update again. if you are unable to find the server, put an # before the name. this way you have made it an comment (wich is ignored by apt-get) so you can use it later on, if its available again.

    the second error you had means there *is* a package "libdvdcss2" (which you tried to install, or was needed for something you tried to install) but its not in the list of one of the servers you have in sources.list. so you have to find out where this package is located. because its an dvd library, I guess its illegal under US law (which doesnt really care about consumer's rights in regards to software - read more about US software patents if you want, I guess linux might even become illegal itself, once...) so it isnt in the standard repository (thats how a server is called) but in a "non-us" repository. on www.debian.org you can find your (local) servers. remove the ones in the file and add your own. then you can add as much as you want from sites like www.apt-get.org (a searchsite for debian packages. you can use this site to find libdvdcss2 if you want).

    then apt-get update and off you go.
    good luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem picture

Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem

$39.99



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP

$35.99



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$13.25



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$143.98