debian apt sources in Ubuntu


Results 1 to 15 of 15

Thread: debian apt sources in Ubuntu

  1. #1
    Join Date
    Dec 2002
    Posts
    338

    debian apt sources in Ubuntu

    Im trying to setup my new ubuntu box. Im used to using debian, figured it wouldn't be a hard switch(boy was I wrong). At the moment Im trying to access some main debian archives in ubuntu(ubuntu's repositories have very little in comparison). Im trying to add
    http://http.us.debian.org/debian unstable main contrib non-free
    but it keeps failing "reload packages" I know I have the address and all right copied it right from my debian box which is working perfectly.
    How can I access debian repositories through debian?
    My sources.list file is as follows:
    deb cdrom:[Ubuntu 4.10 _Warty Warthog_ - Preview amd64 Binary-1 (20041020)]/ unstable main restricted


    deb http://archive.ubuntu.com/ubuntu/ warty main restricted
    deb-src http://archive.ubuntu.com/ubuntu/ warty main restricted

    ## Uncomment the following two lines to add software from the 'universe'
    ## repository.
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    # deb http://archive.ubuntu.com/ubuntu/ warty universe
    # deb-src http://archive.ubuntu.com/ubuntu/ warty universe

    deb http://security.ubuntu.com/ubuntu/ warty-security main restricted
    deb-src http://security.ubuntu.com/ubuntu/ warty-security main restricted


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

  2. #2
    Join Date
    Aug 2004
    Location
    Salem, OR
    Posts
    368
    Don't hurt yourself. Just use Debian.
    Registered Linux User #365191

  3. #3
    Join Date
    Oct 2002
    Location
    Republic of Texas
    Posts
    5,898

    hmm...

    Are you doing apt-get update?
    Can you post more of the error message you get when you do that?
    Can you try removing the ubuntu lines and updating again?
    Need help in realtime? Visit us at #linuxnewbie on irc.libera.chat

    Few of us will do as much for our fellow man as he has done.
    --Andrew Morton on RMS

  4. #4
    Join Date
    Apr 2003
    Posts
    870
    Follow Coffeman's advice... just in case though, did you add universe and multiverse to the Ubuntu apt sources? These together with the main are a complete snapshot of debian sarge repositories (which is why I can't figure out why people keep saying Ubuntu doesn't have what debian has... packages)... anyways, here is my sources list:


    deb http://archive.ubuntu.com/ubuntu/ warty main restricted
    deb-src http://archive.ubuntu.com/ubuntu/ warty main restricted
    deb http://archive.ubuntu.com/ubuntu/ warty universe multiverse
    deb http://security.ubuntu.com/ubuntu/ warty-security main restricted
    deb-src http://security.ubuntu.com/ubuntu/ warty-security main restricted

    deb http://ubuntu-bp.sourceforge.net/ubuntu/ warty-backports main universe

    deb ftp://ftp.nerim.net/debian-marillat/ testing main


    deb http://www.stud.uni-karlsruhe.de/~ut8g/ubuntu/ warty-updates main universe

    deb http://********sweaaa.com/~tseng/ubuntu/debs/ ./
    Ubuntu

    Registered Linux User #313600

  5. #5
    Join Date
    Dec 2002
    Posts
    338
    The errors Im getting is:
    Err http://http.us.debian.org unstable/main Packages
    404 Not Found [IP: 216.37.55.114 80]
    Ign http://http.us.debian.org unstable/main Release
    Err http://http.us.debian.org unstable/contrib Packages
    404 Not Found [IP: 216.37.55.114 80]
    Ign http://http.us.debian.org unstable/contrib Release
    Err http://http.us.debian.org unstable/non-free Packages
    404 Not Found [IP: 216.37.55.114 80]
    Ign http://http.us.debian.org unstable/non-free Release
    Hit http://security.ubuntu.com warty-security/main Packages
    Hit http://archive.ubuntu.com warty/main Packages
    Get:1 http://security.ubuntu.com warty-security/main Release [103B]
    Hit http://archive.ubuntu.com warty/main Release
    Hit http://security.ubuntu.com warty-security/restricted Packages
    Hit http://archive.ubuntu.com warty/restricted Packages
    Get:2 http://security.ubuntu.com warty-security/restricted Release [109B]
    Hit http://archive.ubuntu.com warty/restricted Release
    Hit http://security.ubuntu.com warty-security/main Sources
    Hit http://archive.ubuntu.com warty/main Sources
    Get:3 http://security.ubuntu.com warty-security/main Release [104B]
    Hit http://archive.ubuntu.com warty/main Release
    Hit http://security.ubuntu.com warty-security/restricted Sources
    Hit http://archive.ubuntu.com warty/restricted Sources
    Get:4 http://security.ubuntu.com warty-security/restricted Release [110B]
    Hit http://archive.ubuntu.com warty/restricted Release
    Fetched 426B in 8s (50B/s)
    Failed to fetch http://http.us.debian.org/debian/dis...64/Packages.gz 404 Not Found [IP: 216.37.55.114 80]
    Failed to fetch http://http.us.debian.org/debian/dis...64/Packages.gz 404 Not Found [IP: 216.37.55.114 80]
    Failed to fetch http://http.us.debian.org/debian/dis...64/Packages.gz 404 Not Found [IP: 216.37.55.114 80]
    Reading Package Lists... Done
    W: Couldn't stat source package list http://http.us.debian.org unstable/main Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_unstable_main_bina ry-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://http.us.debian.org unstable/contrib Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_unstable_contrib_b inary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://http.us.debian.org unstable/non-free Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_unstable_non-free_binary-amd64_Packages) - stat (2 No such file or directory)
    W: You may want to run apt-get update to correct these problems
    E: Some index files failed to download, they have been ignored, or old ones used instead.

    That is the complete output of apt-get update. Im going to try the apt-get setup lupin posted and I'll keep you updated but why would my setup not work?

    Also I posted originally that I tried debian but I couldn't get it to work due to my network card.

  6. #6
    Join Date
    Mar 2003
    Location
    Augusta, GA
    Posts
    5,459
    Try adding the following line to /etc/apt/sources.list:
    deb http://archive.ubuntu.com/ubuntu/ warty universe
    deb http://archive.ubuntu.com/ubuntu warty main restricted universe multiverse
    deb ftp://ftp.nerim.net/debian-marillat/ unstable main
    deb http://security.ubuntu.com/ubuntu warty-security main restricted universe multiverse
    And are you running apt-get with "sudo apt-get update" ?

    The above lines will get you just about anything.
    __________________________________________________ _______________________________________
    Bigboogie on boogienights.net:
    Ammo case
    Asus 8N32 SLI MB
    AMD Athlon x2 3800+
    2 GB Patriot Signature 400 DDR
    160 GB Hitachi 7200 IDE
    2 x-250 Seagate SATA2
    EVGA Nvidia 7900GT
    Dell 2007WFP
    Logitech 5.1 speakers
    Logitech MX1000 mouse
    Dell USB keyboard
    NEC 3500 DVD-RW
    Benq 1655 DVD-RW



    (God bless tax refunds)

  7. #7
    Join Date
    Aug 2002
    Location
    Corona Ca.
    Posts
    169
    I have the debian unstable links in my sources file and they work fine. no errors at all.

    Although I have never used them... I got everything I needed using the following sources fil

    Code:
    deb cdrom:[Ubuntu 4.10 _Warty Warthog_ - Preview i386 Binary-1 (20041020)]/ unstable main restricted  
    
    ## Uncomment the following two lines to fetch updated software from the network
    deb http://archive.ubuntu.com/ubuntu/ warty main restricted 
    deb-src http://archive.ubuntu.com/ubuntu/ warty main restricted 
    #deb http://archive.ubuntu.com/ubuntu/ hoary main restricted universe multiverse
    
    ## Uncomment the following two lines to add software from the 'universe'
    ## repository.
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    deb http://archive.ubuntu.com/ubuntu/ warty universe multiverse 
    deb-src http://archive.ubuntu.com/ubuntu/ warty universe multiverse  
    deb http://security.ubuntu.com/ubuntu/ warty-security main restricted 
    deb-src http://security.ubuntu.com/ubuntu/ warty-security main restricted 
    
    # Mirillat Sources (UnStable)
    deb ftp://ftp.nerim.net/debian-marillat/ unstable main
    
    #Added 2004-12-01
    # Debian Sources (UNStable)
    # deb http://http.us.debian.org/debian unstable main contrib non-free
    # deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
    # deb http://security.debian.org unstable/updates main contrib non-free
    deb http://www.stud.uni-karlsruhe.de/~ut8g/ubuntu/ warty-updates main universe 
    
    # Added 2004-12-30
    # Mirillat Sources (Testing)
    deb ftp://ftp.nerim.net/debian-marillat/ testing main
    
    deb http://********sweaaa.com/~tseng/ubuntu/debs/ ./
    
    deb http://ubuntu-bp.sourceforge.net/ubuntu/ warty-backports main universe
    Only thing I can think of this that you are not running sudo apt-get. but other then that I can't tell you.

    Sorry
    Joel
    G.I. Joel - GySgt of Marines
    "Jedi Techie and Master of All That is Windows"
    - The views expressed in this E-Mail do not necessarily reflect the views of the United States Marine Corps, the United States Federal Government, or anyone in particular. Disclaimer Void where Prohibited, Taxed, Licensed, or Generally Disapproved of, your mileage may vary. Don’t Drink and Drive, Fly, Ride, Boat, Swim, Stand, Walk, or anything that requires movement.

  8. #8
    Join Date
    Sep 2000
    Location
    N California
    Posts
    951
    You shouldn't try and mix the two. Eventually your box WILL get messed up.
    Ubuntu uses optimized packages just for Ubuntu. Dependency issues will arise when trying to mix two independent sources.

    You can get away using other "high bred" debian distros such as Libranet, Knoppix, and Mepis if you upgrade to SID. They run a mixed install of primarily testing and unstable. Bringing everything up to unstable is possible because your using purely debian's sources.

    Ubuntu is ahaed of debina in some of it's main applications like GNOME.

    The Ubuntu site recommends not using debian sources also.

    Take the advice of lupin_the_3rd and install universe and multiverse. They are much more complete than the defaults.

    Good Luck,

  9. #9
    Join Date
    Mar 2003
    Location
    Tampa, FL USA
    Posts
    2,193
    Originally posted by CoffeeMan
    Don't hurt yourself. Just use Debian.
    Agreed, Ubuntu is a great "install" distro. It was never intended to be an upgrade from Debian. If you want to see the wonder that is "Ubuntu", then you'll need to fresh install it.

  10. #10
    Join Date
    Aug 2004
    Location
    Salem, OR
    Posts
    368
    All ye who agree with me are (strangely enought) correct. Debian packages will work with Debian, but not perfectly, and it would make more sense just to keep using straight debian.
    Registered Linux User #365191

  11. #11
    Join Date
    Apr 2003
    Posts
    870
    Originally posted by CoffeeMan
    Debian packages will work with Debian, but not perfectly, and it would make more sense just to keep using straight debian.
    but I want debian packages to work perfectly with debian
    Ubuntu

    Registered Linux User #313600

  12. #12
    Join Date
    Dec 2001
    Location
    Greenville, SC
    Posts
    68

    ftp.debian.org has been flaky

    Originally posted by vrek
    The errors Im getting is:
    Err http://http.us.debian.org unstable/main Packages
    404 Not Found [IP: 216.37.55.114 80]
    Ign http://http.us.debian.org unstable/main Release
    Err http://http.us.debian.org unstable/contrib Packages
    404 Not Found [IP: 216.37.55.114 80]
    Ign http://http.us.debian.org unstable/contrib Release
    Err http://http.us.debian.org unstable/non-free Packages
    404 Not Found [IP: 216.37.55.114 80]
    Ign http://http.us.debian.org unstable/non-free Release
    Hit http://security.ubuntu.com warty-security/main Packages
    Hit http://archive.ubuntu.com warty/main Packages
    Get:1 http://security.ubuntu.com warty-security/main Release [103B]
    Hit http://archive.ubuntu.com warty/main Release
    Hit http://security.ubuntu.com warty-security/restricted Packages
    Hit http://archive.ubuntu.com warty/restricted Packages
    Get:2 http://security.ubuntu.com warty-security/restricted Release [109B]
    Hit http://archive.ubuntu.com warty/restricted Release
    Hit http://security.ubuntu.com warty-security/main Sources
    Hit http://archive.ubuntu.com warty/main Sources
    Get:3 http://security.ubuntu.com warty-security/main Release [104B]
    Hit http://archive.ubuntu.com warty/main Release
    Hit http://security.ubuntu.com warty-security/restricted Sources
    Hit http://archive.ubuntu.com warty/restricted Sources
    Get:4 http://security.ubuntu.com warty-security/restricted Release [110B]
    Hit http://archive.ubuntu.com warty/restricted Release
    Fetched 426B in 8s (50B/s)
    Failed to fetch http://http.us.debian.org/debian/dis...64/Packages.gz 404 Not Found [IP: 216.37.55.114 80]
    Failed to fetch http://http.us.debian.org/debian/dis...64/Packages.gz 404 Not Found [IP: 216.37.55.114 80]
    Failed to fetch http://http.us.debian.org/debian/dis...64/Packages.gz 404 Not Found [IP: 216.37.55.114 80]
    Reading Package Lists... Done
    W: Couldn't stat source package list http://http.us.debian.org unstable/main Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_unstable_main_bina ry-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://http.us.debian.org unstable/contrib Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_unstable_contrib_b inary-amd64_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://http.us.debian.org unstable/non-free Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_unstable_non-free_binary-amd64_Packages) - stat (2 No such file or directory)
    W: You may want to run apt-get update to correct these problems
    E: Some index files failed to download, they have been ignored, or old ones used instead.

    That is the complete output of apt-get update. Im going to try the apt-get setup lupin posted and I'll keep you updated but why would my setup not work?

    Also I posted originally that I tried debian but I couldn't get it to work due to my network card.
    I'm not sure about now, but a day or two ago, ftp.debian.org was acting up. Whether http.us.debian.org was or is also acting up is a possibility. However, I checked both of them and they gave me back a ping response at least. I think they may also be reference nodes that point to a muktiple IP list.
    Brian W. Masinick
    Masinick at Yahoo Dot Com

  13. #13
    Join Date
    Mar 2003
    Location
    Tampa, FL USA
    Posts
    2,193
    Originally posted by lupin_the_3rd
    Originally posted by CoffeeMan
    Debian packages will work with Debian, but not perfectly, and it would make more sense just to keep using straight debian.
    but I want debian packages to work perfectly with debian
    Funny, I didn't even catch that.

  14. #14
    Join Date
    Dec 2001
    Location
    Greenville, SC
    Posts
    68

    LOL

    Originally posted by CoffeeMan
    All ye who agree with me are (strangely enought) correct. Debian packages will work with Debian, but not perfectly, and it would make more sense just to keep using straight debian.
    Is that you saying what you mean and meaning what you say, or is that the coffee or other substances in you writing those words? LOL!

    Debian packages work VERY well with Debian based systems every time I've checked. Perhaps what you meant is that there are some vendors who produce their own custom kernel and/or their own custom software repository. They use Debian .deb packages, but if you depart from their packages and use pure Debian packages, you risk breaking their system.

    Knoppix has problems out of the box. You can't even do certain things with Debian unless you depart completely from what they've done. SimplyMEPIS (and probably other versions of MEPIS, use their own kernel to improve hardware compatibility. They work fine with plain Debian packages as long as you don't modify the kernel, but if you modify the kernel, you risk messing up some of the work they've done. Haven't experimented enough with Ubuntu to know what all they've done, but they have bleeding edge GNOME stuff; chances are good that somewhere along the way it won't play fair ball with testing or Sid repository stuff.

    All that said, Debian is still Debian. Any Debian based system can most certainly be converted to a pure Debian system as long as you're willing to depart with whatever the vendor has done to the system. For me, vendor stuff is merely an entry point into the system to ease initial installation, and possibly, if it's good stuff, to ease day to day administration. But if it gets in the way, forget it. I use vendor stuff as tools, nothing more. If it tries to lock me in, I either find a way to unlock the door or I abandon the location altogether. Fortunately with fine systems like Libranet and MEPIS, that's never been necessary for me. I hack them to my heart's content and they do the job for me just fine.
    Brian W. Masinick
    Masinick at Yahoo Dot Com

  15. #15
    Join Date
    Aug 2002
    Location
    Delaware
    Posts
    4,285
    Debian does not have an official port of amd64. Therefore, you cannot use the normal methods of accessing it's packages.

    I imagine that you can make sense of that (if not, take just the first line of it and place it in your sources.list instead of what you added). The rest are mirrors.
    irc.freenode.net #justlinux The Not So Official JL IRC Channel.
    ¤ Debian ¤ Apt-Get ¤

Posting Permissions

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