Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #163003

Re: Problem with apt-get and sources.list

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Re: Problem with apt-get and sources.list
Date 2016-01-14 00:30 +0100
Message-ID <qQD1w-6Mu-17@gated-at.bofh.it> (permalink)
References <qQyuR-3Ce-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 01/13/2016 10:31 AM, Amr Saber wrote:
> Hi there,
> While I was configuring some thing in the sources.list file as apt-get
> couldn't get any package I wanted or asked for (I double checked the
> spelling for each package) and it just said package not found ...

You can search for packages here:

     http://www.debian.org/distrib/packages

> any way, The problem is that the sources.list file was accidentally deleted

It's useful to make copies of original configuration files before 
editing them:

     # cp /etc/apt/sources.list /etc/apt/sources.list-orig

     # vi /etc/apt/sources.list


Better yet is putting them into a version control system.


 > and I can't find any version of it online and ofcourse the apt-get is
 > no longer working at all

Somebody already posted a Jessie file.  Here's my Wheezy file:

$ cat /etc/apt/sources.list
#deb cdrom:[Debian GNU/Linux 7.8.0 _Wheezy_ - Official amd64 xfce-CD 
Binary-1 20150110-14:41]/ wheezy main

deb http://ftp.us.debian.org/debian/ wheezy main
deb-src http://ftp.us.debian.org/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

deb http://ftp.us.debian.org/debian/ wheezy-updates main
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main

deb http://http.debian.net/debian wheezy-backports main


David

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Problem with apt-get and sources.list Amr Saber <amr.m.saber.mail@gmail.com> - 2016-01-13 19:40 +0100
  Re: Problem with apt-get and sources.list Charlie Kravetz <cjk@teamcharliesangels.com> - 2016-01-13 22:20 +0100
    Re: Problem with apt-get and sources.list Jose Martinez <jomartinez812@gmail.com> - 2016-01-13 22:20 +0100
  Re: Problem with apt-get and sources.list David Christensen <dpchrist@holgerdanske.com> - 2016-01-14 00:30 +0100
    Re: Problem with apt-get and sources.list Lisi Reisz <lisi.reisz@gmail.com> - 2016-01-14 00:40 +0100
      Re: Problem with apt-get and sources.list Amr Saber <amr.m.saber.mail@gmail.com> - 2016-01-14 00:50 +0100
      Re: Problem with apt-get and sources.list Jose Martinez <jomartinez812@gmail.com> - 2016-01-14 01:10 +0100
        Re: Problem with apt-get and sources.list Jochen Spieker <ml@well-adjusted.de> - 2016-01-14 01:20 +0100
          Re: Problem with apt-get and sources.list Lisi Reisz <lisi.reisz@gmail.com> - 2016-01-14 02:10 +0100
          Re: Problem with apt-get and sources.list Jose Martinez <jomartinez812@gmail.com> - 2016-01-14 02:40 +0100
  Re: Problem with apt-get and sources.list Adam Wilson <moxalt@riseup.net> - 2016-01-14 19:50 +0100
    Re: Problem with apt-get and sources.list Brian <ad44@cityscape.co.uk> - 2016-01-14 20:10 +0100
      Re: Problem with apt-get and sources.list Adam Wilson <moxalt@riseup.net> - 2016-01-15 10:00 +0100
        Re: Problem with apt-get and sources.list Brian <ad44@cityscape.co.uk> - 2016-01-15 20:40 +0100
          Re: Problem with apt-get and sources.list Adam Wilson <moxalt@riseup.net> - 2016-01-21 03:50 +0100
            Re: Problem with apt-get and sources.list Brian <ad44@cityscape.co.uk> - 2016-01-21 12:00 +0100
    Re: Problem with apt-get and sources.list Chris Bannister <cbannister@slingshot.co.nz> - 2016-01-15 20:20 +0100
      Re: Problem with apt-get and sources.list Adam Wilson <moxalt@riseup.net> - 2016-01-21 03:50 +0100
        Re: Problem with apt-get and sources.list Chris Bannister <cbannister@slingshot.co.nz> - 2016-01-21 11:20 +0100
          Re: Problem with apt-get and sources.list Brian <ad44@cityscape.co.uk> - 2016-01-21 12:10 +0100
            Re: Problem with apt-get and sources.list Brian <ad44@cityscape.co.uk> - 2016-01-21 13:10 +0100

csiph-web