Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 25
after a fresh install of debian 6.0 everything seems to be working- even the internet. but when I do 'sudo aptitude install [package]' it fails to fetch. so I go ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2012
    Location
    Halifax Nova Scotia Canada
    Posts
    72

    repos...???


    after a fresh install of debian 6.0 everything seems to be working- even the internet. but when I do 'sudo aptitude install [package]' it fails to fetch. so I go to my software sources. the rest is clear.

    Screenshot.jpg
    Screenshot-1.jpg
    Screenshot-2.jpg
    Screenshot-3.jpg

    so i;m not sure but is it normal to have squeeze-updates main but not squeeze main? how do I fix this? it wont let me add a source even when i'm root. do I have to edit the file? where is it?

    -UNRELETED QUESTION

    when I do sudo aptitude in a non root terminal or with out hitting su before, It says im not on the 'sudoers list' how do i add my user?

  2. #2
    Just Joined!
    Join Date
    Mar 2012
    Location
    Halifax Nova Scotia Canada
    Posts
    72
    ok I got main added (turns out you need to add deb to the frount) but when i aptitude install something it can't seem to find any of the packages. also, when I go to leave the program it says that the info is out of dat but It fails to update. network works fine, i'm posting from the system now

  3. #3
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,488
    I think you press u to update the list of packages and then U to select all upgrades and then g (twice) to install them.

    From a command line it would be
    Code:
    sudo aptitude update
    sudo aptitude safe-upgrade
    more info
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

  4. #4
    Just Joined!
    Join Date
    Mar 2012
    Location
    Halifax Nova Scotia Canada
    Posts
    72
    root@A880GZ:/home/jlloyd13# sudo apt-get update
    Hit Index of / squeeze Release.gpg
    Ign Index of /debian squeeze/main Translation-en
    Hit Index of / squeeze Release.gpg
    Ign Index of /debian squeeze/(source Translation-en
    Ign Index of /debian squeeze/(source Translation-en_CA
    Ign Index of /debian squeeze/code) Translation-en
    Ign Index of /debian squeeze/code) Translation-en_CA
    Ign Index of /debian squeeze/main Translation-en
    Ign Index of /debian squeeze/main Translation-en_CA
    Ign Index of /debian squeeze/main Translation-en_CA
    Ign Index of / squeeze/updates Release.gpg
    Hit Index of / squeeze Release
    Get:1 Index of / squeeze-updates Release.gpg [836 B]
    Ign Index of /debian squeeze-updates/main Translation-en
    Ign Index of /debian squeeze-updates/main Translation-en_CA
    Hit Index of / squeeze Release
    Ign Index of / squeeze/updates Release
    Get:2 Index of / squeeze-updates Release [113 kB]
    Hit Index of / squeeze/main amd64 Packages
    Hit Index of / squeeze/main Sources
    Hit Index of / squeeze/main amd64 Packages
    Ign Index of / squeeze/updates/main Sources
    Err Index of / squeeze/updates/main Sources
    404 Not Found
    Hit Debian -- Security Information squeeze/updates Release.gpg
    Ign Debian -- Security Information squeeze/updates/main Translation-en
    Ign Debian -- Security Information squeeze/updates/main Translation-en_CA
    Hit Debian -- Security Information squeeze/updates Release
    Hit Debian -- Security Information squeeze/updates/main amd64 Packages
    Hit Index of / squeeze-updates/main Sources/DiffIndex
    Hit Index of / squeeze-updates/main amd64 Packages/DiffIndex
    Get:3 Index of / squeeze-updates/main amd64 Packages [13.7 kB]
    Fetched 128 kB in 6s (21.2 kB/s)
    W: Failed to fetch http://http.us.debian.org/debian/dists/squeeze/Release Unable to find expected entry (source/binary-amd64/Packages in Meta-index file (malformed Release file?)

    W: Failed to fetch http://debian.yorku.ca/debian/dists/...rce/Sources.gz 404 Not Found

    E: Some index files failed to download, they have been ignored, or old ones used instead.
    root@A880GZ:/home/jlloyd13# sudo apt-get safe-upgrade
    E: Invalid operation safe-upgrade
    root@A880GZ:/home/jlloyd13# sudo aptitude safe-upgrade
    No packages will be installed, upgraded, or removed.
    0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B of archives. After unpacking 0 B will be used.
    W: Duplicate sources.list entry Index of /debian squeeze/main amd64 Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_squeeze_main_binar y-amd64_Packages)
    W: You may want to update the package lists to correct these missing files

    root@A880GZ:/home/jlloyd13#



    what can you make of this? btw I did a netinstall, dont know if it matters

  5. #5
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,488
    Can you post your /etc/apt/sources.list file?
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

  6. #6
    Just Joined!
    Join Date
    Mar 2012
    Location
    Halifax Nova Scotia Canada
    Posts
    72
    the rather odd line response:

    root@A880GZ:/home/jlloyd13# gedit /etc/apt/sources.list

    (gedit:6201): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

    and the file itsself

    #

    # deb cdrom:[Debian GNU/Linux 6.0.4 _Squeeze_ - Official amd64 NETINST Binary-1 20120129-00:39]/ squeeze main

    # deb cdrom:[Debian GNU/Linux 6.0.4 _Squeeze_ - Official amd64 NETINST Binary-1 20120129-00:39]/ squeeze main

    deb http://debian.yorku.ca/debian/ squeeze main
    deb-src http://debian.yorku.ca/debian/ squeeze main

    deb http://security.debian.org/ squeeze/updates main
    deb-src http://debian.yorku.ca/debian/squeeze/updates main

    # squeeze-updates, previously known as 'volatile'
    deb http://ftp.us.debian.org/debian/ squeeze-updates main
    deb-src http://ftp.us.debian.org/debian/ squeeze-updates main
    deb http://http.us.debian.org/debian/ squeeze main
    deb http://http.us.debian.org/debian/squeeze main (source code)

    anything?
    Last edited by elija; 08-04-2012 at 07:30 AM. Reason: stop auto url parsing

  7. #7
    Just Joined!
    Join Date
    Mar 2012
    Location
    Halifax Nova Scotia Canada
    Posts
    72
    I have more, major problems. frist of all i can't log in as root. the passwords right be cause it works in su but I can't log in as root. also, root termanal takes me to root /home/jlloyd13(user) how can I just get to the normal root command line?

  8. #8
    Just Joined! VastOne's Avatar
    Join Date
    Dec 2010
    Posts
    2
    Quote Originally Posted by JLloyd137 View Post
    I have more, major problems. frist of all i can't log in as root. the passwords right be cause it works in su but I can't log in as root. also, root termanal takes me to root /home/jlloyd13(user) how can I just get to the normal root command line?
    su and the root pw are not the same

    Have you setup the root passwd?

    Code:
    sudo passwd root
    After that you can login as root...

  9. #9
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,488
    Quote Originally Posted by JLloyd137 View Post
    the rather odd line response:

    root@A880GZ:/home/jlloyd13# gedit /etc/apt/sources.list

    (gedit:6201): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

    and the file itsself

    #

    # deb cdrom:[Debian GNU/Linux 6.0.4 _Squeeze_ - Official amd64 NETINST Binary-1 20120129-00:39]/ squeeze main

    # deb cdrom:[Debian GNU/Linux 6.0.4 _Squeeze_ - Official amd64 NETINST Binary-1 20120129-00:39]/ squeeze main

    deb Index of /debian squeeze main
    deb-src Index of /debian squeeze main

    deb Debian -- Security Information squeeze/updates main
    deb-src http://debian.yorku.ca/debian/squeeze/updates main

    # squeeze-updates, previously known as 'volatile'
    deb Index of /debian squeeze-updates main
    deb-src Index of /debian squeeze-updates main
    deb Index of /debian squeeze main
    deb http://http.us.debian.org/debian/squeeze main (source code)

    anything?
    Don't worry about the warning as gedit does that...

    Take a back up of your existing sources.list, just in case and replace the contents with
    Code:
    deb http://ftp.ca.debian.org/debian stable main contrib non-free
    deb-src http://ftp.ca.debian.org/debian stable main contrib non-free
    
    deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free
    deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib non-free
    Then run
    Code:
    sudo aptitude update
    I've used the Canadian Debian mirrors and added the non-free and contrib repositories so you'll have access to a lot more, but philosophically difficult for the Debian team, packages.
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

  10. #10
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,488
    Quote Originally Posted by JLloyd137 View Post
    I have more, major problems. frist of all i can't log in as root. the passwords right be cause it works in su but I can't log in as root. also, root termanal takes me to root /home/jlloyd13(user) how can I just get to the normal root command line?
    su will give you full root powers so I am not sure of the problem here? There is a very strong security argument for never allowing root to log in.
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

Page 1 of 3 1 2 3 LastLast

Posting Permissions

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