You are not logged in.

#1 2016-11-18 17:51:07

bearrider
Member
Registered: 2016-11-16
Posts: 15

[SOLVED] apt-get update broken

Day 3 into this new distro and I seem to have seriously mucked up my sources


I see a whole set of errors when I so a sudo apt-get update.

I did follow all the settings in Damo's post no. 1526 on this forum but that hasn't worked.

Any help tidying this up appreciated!! :-)

The errors I see are here in detail: https://pastebin.com/c176Jq9V

But here are the highlights:

Err http://pkg.httpredir.debian.org jessie-backports InRelease
Err http://pkg.httpredir.debian.org jessie-backports Release.gpg
  Could not resolve 'pkg.httpredir.debian.org'
Err http://ppa.launchpad.net bunsen-hydrogen/main Sources
  404  Not Found
Err http://ppa.launchpad.net bunsen-hydrogen/main amd64 Packages
  404  Not Found
Err http://ppa.launchpad.net bunsen-hydrogen/main Sources
  404  Not Found
Err http://ppa.launchpad.net bunsen-hydrogen/main amd64 Packages
  404  Not Found


My current sources.list files are in this status:

cat /etc/apt/sources.list.d/bunsen.list
    deb http://pkg.bunsenlabs.org/debian bunsen-hydrogen main


cat /etc/apt/sources.list.d/bunsen-jessie-backports.list
    deb http://pkg.bunsenlabs.org/debian jessie-backports main

cat /etc/apt/sources.list
    # Debian Main Repos

    deb http://httpredir.debian.org/debian jessie main contrib non-free

    deb http://security.debian.org/ jessie/updates main contrib non-free

    deb http://httpredir.debian.org/debian/ jessie-updates main contrib non-free

    deb http://httpredir.debian.org/debian/ jessie-proposed-updates main contrib non-free

Last edited by Head_on_a_Stick (2016-11-21 07:44:34)

Offline

#2 2016-11-19 11:08:08

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] apt-get update broken

I think we need to see all of the sources:

grep -v '^$\|^#' /etc/apt/sources.list{,.d/*}

I can see that you have a Google Chrome source in there (this is added by a cron job installed by the Google Chrome .deb) and I think you also have a malformed line and a (botched) PPA attempt as well.

Are you aware that PPAs are not compatible with BunsenLabs and may cause major problems?

Offline

#3 2016-11-21 06:31:11

bearrider
Member
Registered: 2016-11-16
Posts: 15

Re: [SOLVED] apt-get update broken

Didn't know that PPAs were incompatible. Used PPA to install Albert.

$grep -v '^$\|^#' /etc/apt/sources.list{,.d/*}
/etc/apt/sources.list:deb http://httpredir.debian.org/debian jessie main contrib non-free
/etc/apt/sources.list:deb http://security.debian.org/ jessie/updates main contrib non-free
/etc/apt/sources.list:deb http://httpredir.debian.org/debian/ jessie-updates main contrib non-free
/etc/apt/sources.list:deb http://httpredir.debian.org/debian/ jessie-proposed-updates main contrib non-free
/etc/apt/sources.list.d/bunsen-jessie-backports.list:deb http://pkg.bunsenlabs.org/debian jessie-backports main
/etc/apt/sources.list.d/bunsen.list:deb http://pkg.bunsenlabs.org/debian bunsen-hydrogen main
/etc/apt/sources.list.d/bunsen.list.save:deb http://pkg.bunsenlabs.org/debian bunsen-hydrogen main
/etc/apt/sources.list.d/debian-jessie-backports.list:deb http://pkg.httpredir.debian.org/debian jessie-backports main contrib non-free
/etc/apt/sources.list.d/google-chrome.list:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/google-chrome.list.save:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

Offline

#4 2016-11-21 07:15:12

bearrider
Member
Registered: 2016-11-16
Posts: 15

Re: [SOLVED] apt-get update broken

so I reverted my sources.list and ran the bl-welcome script and everythingseems sorted now

  grep -v '^$\|^#' /etc/apt/sources.list{,.d/*}
/etc/apt/sources.list:deb http://httpredir.debian.org/debian jessie main contrib non-free
/etc/apt/sources.list:deb http://security.debian.org/ jessie/updates main contrib non-free
/etc/apt/sources.list.d/bunsen-jessie-backports.list:deb http://pkg.bunsenlabs.org/debian jessie-backports main
/etc/apt/sources.list.d/bunsen.list:deb http://pkg.bunsenlabs.org/debian bunsen-hydrogen main
/etc/apt/sources.list.d/bunsen.list.save:deb http://pkg.bunsenlabs.org/debian bunsen-hydrogen main
/etc/apt/sources.list.d/debian-jessie-backports.list:deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
/etc/apt/sources.list.d/google-chrome.list:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/google-chrome.list.save:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

Offline

#5 2016-11-21 07:44:17

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] apt-get update broken

Great stuff, good work smile

I have marked the thread [SOLVED]

Offline

Board footer

Powered by FluxBB