LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-02-2017, 04:57 PM   #1
Ihatewindows522
Member
 
Registered: Oct 2014
Location: Fort Wayne
Distribution: Ubuntu 16.04 LTS
Posts: 616
Blog Entries: 2

Rep: Reputation: 166Reputation: 166
Debian refusing to see new packages


Ok, haven't been on here a while...it's a long story.

I ended up installing Debian Jessie a while back as my (temporary) main OS until 2018. Most everything has been smooth sailing except for package management.

We were without internet access for a while, so I had downloaded the 3 DVD set from Debain at work. Jessie is currently installed and is on rails, except for package management.

So to install packages, I had extracted the /pool folder from each DVD, dropped those packages into ~/pool, and set up a local software repo from there. Worked flawlessly.

Now, since I want to connect to the internet, it suddenly doesn't want to cooperate. Internet connection itself is just fine, and Synaptic claims it's connecting to the Debian servers, but it can't download new package information beyond what it already got from the DVDs. Everything that I copied from the DVDs can be updated, but that's the extent of it. For example, I can download and get updates for httrack because that was on the DVD. But webhttrack doesn't even show up, and I can literally browse to the FTP site where it's located at.

I WAS however smart enough to make a backup of my /etc/apt/sources.list before I started tampering with it, but restoring it does less than squat.

I'm pretty sure I buggered it up with the local repo, but I'm not an expert with Debian repos and obviously have no clue what I'm even doing. So I'd really appreciate some help. Thanks in advance.
 
Old 08-02-2017, 05:52 PM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
# dselect update

If you have multiple repo lines it's not so good at merging them. The above handles the --merge in a pretty brain dead way for me. Plus populates the legacy available which has it's uses. Beyond that there are fairly standard sources.list for normies. If you visit the freenode irc for debian you can get it from the dpkg bot. Otherwise:

FILE: /etc/apt/sources.list
Code:
deb http://security.debian.org             stretch/updates main contrib non-free
deb http://httpredir.debian.org/debian     stretch         main contrib non-free
deb http://httpredir.debian.org/debian     stretch-updates main contrib non-free
deb-src http://httpredir.debian.org/debian stretch         main contrib non-free
deb-src http://httpredir.debian.org/debian stretch-updates main contrib non-free
On a minimum install tasksel is likely installed by default, but dselect is not.
 
1 members found this post helpful.
Old 08-02-2017, 06:40 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Code:
sudo apt sources
is a decent shortcut.

tasksel is on mini.
 
1 members found this post helpful.
Old 08-03-2017, 09:31 AM   #4
Ihatewindows522
Member
 
Registered: Oct 2014
Location: Fort Wayne
Distribution: Ubuntu 16.04 LTS
Posts: 616

Original Poster
Blog Entries: 2

Rep: Reputation: 166Reputation: 166
Quote:
Originally Posted by Shadow_7 View Post
# dselect update

If you have multiple repo lines it's not so good at merging them. The above handles the --merge in a pretty brain dead way for me. Plus populates the legacy available which has it's uses. Beyond that there are fairly standard sources.list for normies. If you visit the freenode irc for debian you can get it from the dpkg bot. Otherwise:

FILE: /etc/apt/sources.list
Code:
deb http://security.debian.org             stretch/updates main contrib non-free
deb http://httpredir.debian.org/debian     stretch         main contrib non-free
deb http://httpredir.debian.org/debian     stretch-updates main contrib non-free
deb-src http://httpredir.debian.org/debian stretch         main contrib non-free
deb-src http://httpredir.debian.org/debian stretch-updates main contrib non-free
On a minimum install tasksel is likely installed by default, but dselect is not.
@Shadow_7, as I said, I'm far from an expert on this, but what you're saying seems to be that I rebuild the sources.list from scratch?

Found a clean sources.list and the Wine repo, so I'm adding that as well...gonna try that but not holding my breath.

From what I can see it has to do with the Packages.gz or lack thereof on the Debian servers.

EDIT: Ok...never mind. The clean sources.list worked. Dunno why my backup didn't work but hey it works now. Thank you both!

Last edited by Ihatewindows522; 08-03-2017 at 09:36 AM.
 
Old 08-03-2017, 05:32 PM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Sorcery in the Sources.
Glad it worked out.
 
  


Reply

Tags
broken, debian, local, repo



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
debian packages icecubeflower Slackware 12 05-26-2010 04:50 PM
Debian 3.1 refusing to support PCMCIA on IBM Thinkpad 600e Lordandmaker Debian 4 05-08-2007 04:30 PM
Getting Debian packages Tylerious Linux - Newbie 6 08-21-2005 10:41 PM
Debian packages 3p0ch Debian 1 01-04-2005 01:51 AM
Debian packages 3p0ch Linux - Software 1 01-02-2005 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 01:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration