Results 1 to 7 of 7

Thread: Problem with the apt-get command

  1. #1
    Join Date
    Oct 2018
    Beans
    3

    Problem with the apt-get command

    Hi to all, i'm new in this forum, and i hope to have posted in a correct section.

    To achieve my thesis on my University i use Netkit, the network simulator, but i have this problem.

    When i try to install or update programs using: apt-get install or apt-get update, i have this message "Failed to fetch http://ftp.it.debian.org".
    I need to install wireshark in netkit and the telnet daemon or something similar.
    I try to see my /etc/apt/sources.list file and this is its content:

  2. #2
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    29,807
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Problem with the apt-get command

    Thread moved to Debian for a more appropriate fit.

  3. #3
    Join Date
    Jun 2006
    Location
    Scotland
    Beans
    893

    Re: Problem with the apt-get command

    Your sources.list output does not appear here.

    What does your sources.list and sources.list.d show?

  4. #4
    Join Date
    Oct 2018
    Beans
    3

    Re: Problem with the apt-get command

    Quote Originally Posted by arochester View Post
    Your sources.list output does not appear here.

    What does your sources.list and sources.list.d show?
    Sorry but i don't know why the output of the two files doesn't it is shown.

    I rewrite in this post:

    Code:
    * sources.list file:
    # Pick the mirror that is nearest to you among the following ones:
    #
    #deb http://ftp.at.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.wa.au.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.au.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.bg.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.br.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.ch.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.cl.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.cz.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.de.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp2.de.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.dk.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.ee.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.es.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.fi.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.fr.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp2.fr.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.uk.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.hk.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.hr.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.hu.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.ie.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.is.debian.org/debian/      unstable main contrib non-free
     deb http://ftp.it.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.jp.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp2.jp.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.kr.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.mx.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.nl.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.no.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.nz.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.pl.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.pt.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.ro.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.ru.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.se.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.si.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.sk.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.tr.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.tw.debian.org/debian/      unstable main contrib non-free
    #deb http://ftp.us.debian.org/debian/      unstable main contrib non-free
    * sources.list.d:
    i've used this command: cd /etc/apt/sources.list.d
    and ls -l, the message is: total 0.
    Last edited by QIII; October 16th, 2018 at 06:38 PM. Reason: normalized font, color; added code tags

  5. #5
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Problem with the apt-get command

    Hello!

    Please use the default font and color.

    Enclose all terminal commands and results in code tags:

    1. Click the # button above the text entry box, place your cursor between the code tags that appear and paste or type your text. Alternatively, paste or type your text, highlight it and then click the # button.

    2. Type [code] before your text and [/code] after your text. The square brackets are required.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  6. #6
    Join Date
    Jun 2006
    Location
    Scotland
    Beans
    893

    Re: Problem with the apt-get command

    Never seen a sources.list like that. I assume when Italy is the only mirror not made ineffective that you are in Italy.

    I would first try replacing that sources.list with only
    Code:
    deb http://ftp.it.debian.org/debian/ unstable main contrib non-free
    Sources.list.d is a directory. Try the command
    Code:
    cat /etc/apt/sources.list.d/*
    (Another place to ask is http://forums.debian.net )
    Last edited by arochester; October 16th, 2018 at 08:23 PM.

  7. #7
    Join Date
    Oct 2018
    Beans
    3

    Re: Problem with the apt-get command

    Quote Originally Posted by arochester View Post
    Never seen a sources.list like that. I assume when Italy is the only mirror not made ineffective that you are in Italy.

    I would first try replacing that sources.list with only
    Code:
    deb http://ftp.it.debian.org/debian/ unstable main contrib non-free
    Sources.list.d is a directory. Try the command
    Code:
    cat /etc/apt/sources.list.d/*
    (Another place to ask is http://forums.debian.net )
    Thanks, i've tried
    Code:
     cat /etc/apt/sources.list.d/*
    , and the result is:
    Code:
    No such file or directory

    All the output posted here it is the output of the my Netkit network simulator VM, based on a Linux kernel.

Tags for this Thread

Bookmarks

Posting Permissions

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