You are not logged in.

#1 2016-09-17 16:34:17

perchslayer
Member
From: Auburn, California - US
Registered: 2016-01-12
Posts: 117

Continued Systemic Issues with UPDATES and UPGRADES... Please Help

I am having a continued issue that I think has two parts, at least. That is, there are two paths that the "update lists" are found in:

/var/lib/apt/lists
/etc/apt/sources.list
           ...sources.list.d
           ...sources.gpg
          ...trusted.gpg

And it seems that these are both supposed to be there and like that(?).
Aside: I have looked for a place that is an FAQ or "tutorial" on this process and I have yet to find it

Anyway, I am getting messages when I do updates that include the following:

Hit http://toolbelt.heroku.com ./ Release                                      
Err http://ppa.launchpad.net bunsen-hydrogen/main amd64 Packages               
  404  Not Found [IP: 204.145.124.244 80]
Err http://ppa.launchpad.net bunsen-hydrogen/main i386 Packages
  404  Not Found [IP: 204.145.124.244 80]
Ign http://ppa.launchpad.net bunsen-hydrogen/main Translation-en_US
Ign http://ppa.launchpad.net bunsen-hydrogen/main Translation-en
Err http://apt.postgresql.org bunsen-hydrogen-pgdg/main amd64 Packages
  404  Not Found [IP: 204.145.124.244 80]
Err http://apt.postgresql.org bunsen-hydrogen-pgdg/main i386 Packages
  404  Not Found [IP: 204.145.124.244 80]

And also...

W: Failed to fetch http://us.debian.org/debian/dists/jessie/Release.gpg  Something wicked happened resolving 'us.debian.org:http' (-5 - No address associated with hostname)

W: Failed to fetch http://us.debian.org/debian/dists/jessie/main/binary-amd64/Packages  Something wicked happened resolving 'us.debian.org:http' (-5 - No address associated with hostname)

W: Failed to fetch http://us.debian.org/debian/dists/jessie/main/binary-i386/Packages  Something wicked happened resolving 'us.debian.org:http' (-5 - No address associated with hostname)

W: Failed to fetch http://us.debian.org/debian/dists/jessie/main/i18n/Translation-en_US  Something wicked happened resolving 'us.debian.org:http' (-5 - No address associated with hostname)

W: Failed to fetch http://us.debian.org/debian/dists/jessie/main/i18n/Translation-en  Something wicked happened resolving 'us.debian.org:http' (-5 - No address associated with hostname)

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

Roland Shield
n00b 2.x
ass.clown@perchslayer.com | "...'ere I am, J.H."

Offline

#2 2016-09-17 16:54:22

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: Continued Systemic Issues with UPDATES and UPGRADES... Please Help

Let me guess: you tried using the add-apt-repository to add a Ubuntu PPA from Launchpad, or some other weird tool. It took the distribution name the system identifies itself as (bunsen-hydrogen) and plugged it where normally the Ubuntu distro name resp. release name would go, e.g. xenial. add-apt-repository doesn't work unless run on a Ubuntu system...

You need to edit the entries manually to have a different distribution name like 'xenial'. xenial is not necessarily compatible with Debian jessie (our stuff) but works in most cases; I guess that's what you wanted to have.

The same thing applies to the postgres repository; I'm guessing you used that one-liner from the postgres homepage:

sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'

to add the entry. Again lsb_release -cs returns 'bunsen-hydrogen' and not as expected 'jessie' – Postgres doesn't have a BL repo. In this instance, replace the bunsen-hydrogen part of the entry with 'jessie'.

Offline

#3 2016-09-17 20:05:55

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Continued Systemic Issues with UPDATES and UPGRADES... Please Help

Would it be advisable to suggest to OP that if you're running or trying to use PPA's on a stable release, it sort of defeats the purpose, of the stability. Aren't PPA's an equivelent to our testing and unstable builds?


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#4 2016-09-18 00:36:43

perchslayer
Member
From: Auburn, California - US
Registered: 2016-01-12
Posts: 117

Re: Continued Systemic Issues with UPDATES and UPGRADES... Please Help

Thank you for your timely and fairly in-depth suggestion. However, I am able to decipher what you are suggesting, at all. And that is likely because I don't know the Linux "language". You are saying, for instance 

twoion wrote:

You need to edit the entries manually to have a different distribution name like 'xenial'. xenial is not necessarily compatible with Debian jessie (our stuff) but works in most cases; I guess that's what you wanted to have.

Well, I don't have any idea what you mean by that. What is 'Xenial'? Is that a previous Debian distribution? Or is that a made-up word you are using to make a point about it not mattering just making up a word will do? I have no idea.

Also, you are saying Postgres doesn't have a BL repo. And you are pretty much leaving it there except to say that I should

twoion wrote:

replace the bunsen-hydrogen part of the entry with 'jessie'.

. And that sounds like helpful, solid advice. However, I have no earthly idea where it is, specifically, that I would do that replacing? Can you give me a hint? Is it a file? A couple of files? Every single document or file in both of the paths I included in my original post? What? What, specifically? Without specifics, your advice is not something I can use as actionable information.

But to be clear, I did do, generally, what you were saying...which is to try and get software that was not a BL repo, but I needed to move onward and upward, in my view. But maybe it is the case that I need either 3 or 4 computers or be savvy enough to run several virtual machines if I feel such needs. Yes? No?


Roland Shield
n00b 2.x
ass.clown@perchslayer.com | "...'ere I am, J.H."

Offline

#5 2016-09-18 00:53:20

perchslayer
Member
From: Auburn, California - US
Registered: 2016-01-12
Posts: 117

Re: Continued Systemic Issues with UPDATES and UPGRADES... Please Help

Horizon_Brave wrote:

Would it be advisable to suggest to OP that if you're running or trying to use PPA's on a stable release, it sort of defeats the purpose, of the stability. Aren't PPA's an equivalent to our testing and unstable builds?

I am guessing that the term "OP" implicitly suggests that you are not addressing me directly, which is all fine and well. And I would still, nevertheless, like to gain a learning moment and also share with you where I am coming from FWIW.

1) I did not choose to wipe Windows 10 and install BL on my only laptop because it was a "stable release". No, I did so because I was frustrated with Windows and I wanted to see if I could manage a life and learn things in Linux--and stay away from the high-brow snot-nosed Slacker Linux types, etc. And that "learning process" and "life", in my mind, at least, included the idea of doing outrageous things like load Postgres (the defacto DB for Open Source GIS and Django, BTW) on my one and only laptop. But it could be that such is complete folly and the sort of thing only attempted by fools. And that indeed, I am, as you have clearly pointed out, I will (an am, currently) reap(ing) what I sow. Okay, if that is what you are saying, I hear you. And I gather that if I have somehow gotten in my feeble brain that I need the only open source RDBMS with geographic geometry support, that I need to take my pile and move to another repo, hey, I hear you pal, I will consider it, okay?

2) I would be fine with the finger wagging about PPAs if you managed to at least consider why I might want such things on my box. I mean this is not Facebook or porn or Minecraft here. This is a tool that, like MongoDB, for instance, is being leveraged on Linux boxes across the globe to get stuff done. Yes? No? Would you say stick with MySQL and realize that if you want to be BL that is all there is? Or just say "shame on you for considering PPAs?

BTW, I don't have a clear idea what is and what is not appropriate to put on my machine. However, as soon as I finish this posting, I am going straight to the BL page about such things to see just how many crimes and misdemeanors I have committed in my (self-assessed) well-meaning intentions.

Okay?


Roland Shield
n00b 2.x
ass.clown@perchslayer.com | "...'ere I am, J.H."

Offline

#6 2016-09-18 01:16:06

perchslayer
Member
From: Auburn, California - US
Registered: 2016-01-12
Posts: 117

Re: Continued Systemic Issues with UPDATES and UPGRADES... Please Help

So far, I have been reading about, among other things, the list of unstable packages listed at the BL page here: List of Unstable Packages for BL

....and what I see is a vast sea of blankness. That is to say that at 14:15 PST on September 17, 2016 there is exactly NOTHING, currently, listed on this page. It does, however, appear to be a dynamically create page. Code below:

<!DOCTYPE html>
<html>
<head prefix="og: http://ogp.me/ns#">
  <meta charset="utf-8">
  <meta name="generator" content="pandoc">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
  <meta property="og:url" content="http://pkg.bunsenlabs.org/repoidx.html"/>
  <meta property="og:type" content="website" />
  <meta property="og:image" content="http://pkg.bunsenlabs.org/img/opengraph-flame.png" />
  <meta property="og:description" content="BunsenLabs Linux APT Repository" />
  <meta name="google" content="notranslate">
  <link rel="icon" href="img/favicon16.png" sizes="16x16">
  <link rel="icon" href="img/favicon32.png" sizes="32x32">
  <link rel="icon" href="img/favicon48.png" sizes="48x48">
  <title>Repository Index</title>
  <style type="text/css">code{white-space: pre;}</style>
  <link rel="stylesheet" href="css/plain-repo.css">
  <link rel="dns-prefetch" href="//www.bunsenlabs.org">
  <link rel="dns-prefetch" href="//forums.bunsenlabs.org">
</head>
<body>
<div class="padlock"></div>
<div class="center marginbox">
  <a href="?mercury" title="About BunsenLabs Linux"><img class="logo" src="img/bunsenlabs-text-flame.svg" alt="[BunsenLabs logo]"></a><br>
  <a class="header" href="https://bunsenlabs.org">About BunsenLabs Linux</a> |
  <a class="header" href="index.html" title="APT repositories">Repositories</a> |
  <span class="semibold"><a class="header" href="repoidx.html" title="Repository Index">Repository Index</a></span> |
  <a class="header" href="https://forums.bunsenlabs.org" title="Community and support">Forums</a> |
  <a class="header" href="https://www.bunsenlabs.org/donations.html" title="Support BunsenLabs">Donations</a>
</div>
<div id="agent-notchrome" class="info" style="display:none">
<p>
This page has been been verified to be functional only on Firefox &gt;=38 and Chrome/Chromium &gt;= 48 with experimental JS script features (‘harmony’) enabled. It may work for you or not.
</p>
</div>
<div id="agent-palemoon" class="info" style="display:none">
<p>
It looks like you are using the PaleMoon browser – please be informed that this page will not (yet) run on that browser’s JavaScript engine for its lack of ECMAScript 6 features.
</p>
</div>
<div id="bl-repo-index-toc">

</div>
<div id="bl-repo-index">

</div>
<div style="margin-bottom:20px">

</div>
<script type="text/javascript;version=1.7" src="js/bl-repo-index.js"></script>
<script type="text/javascript" src="js/bl-repo-index.js"></script>
<script type="text/javascript">
// From https://stackoverflow.com/questions/9847580. Why is the web so shitty?
var isOpera = (!!window.opr && !!opr.addons) || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0;
var isSafari = Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0;
var isIE = /*@cc_on!@*/false || !!document.documentMode;
var isEdge = !isIE && !!window.StyleMedia;
var b,ua = window.navigator.userAgent;
if(isOpera || isSafari || isIE || isEdge) document.getElementById("agent-notchrome").style.display = "block";
if(ua.indexOf("PaleMoon")>-1) document.getElementById("agent-palemoon").style.display = "block";
</script>
<noscript>
<div class="warning">
<p>
The repository index is rendered by your browser using JavaScript, which
is used for retrieving and processing the package lists from our
repository. Without JavaScript, this page stays empty.
</p>

<p>
Allow scripts originating from the <span class="semibold">bunsenlabs.org</span> domain to run, or <a
href="/debian">view the directory index instead</a>.
</p>

<p>
You may also <a href="js/bl-repo-index.js">inspect</a> the script before
running it.
</p>
</div>
</noscript>
<script src="js/lock.js"></script>
<script>
  var n = window.location.search.substring(1);
  if(n == "mercury")
    document.cookie = "css=mercury";
  else if(n=="no-mercury")
    document.cookie = "css=no-mercury";
  if(document.cookie == "css=mercury") {
    if(n = document.querySelector("img.logo")) {
      n.setAttribute("src", "img/bunsenlabs-text-flame-mercury.svg");
    }
    n = document.createElement("link");
    n.href="css/plain-mercury.css";
    n.type="text/css";
    n.rel="stylesheet";
    document.head.appendChild(n);
  }
</script>
</body>
</html>

Roland Shield
n00b 2.x
ass.clown@perchslayer.com | "...'ere I am, J.H."

Offline

#7 2016-09-18 03:49:11

tynman
Member
Registered: 2015-10-13
Posts: 93

Re: Continued Systemic Issues with UPDATES and UPGRADES... Please Help

1. BL depends entirely on Debian for managing software packages. Maybe take a look at https://www.debian.org/distrib/packages.

2. The directory, /var/lib/apt, is used internally by the apt utilities. Generally, you don't need to do anything to it.

3. The directory, /etc/apt, is where you tell the apt utilities where to find package repositories. (not /var/lib/apt)

3. The general rule is to add only Debian repositories to your /etc/apt/sources.list file (or to the /etc/apt/sources.list.d directory). For Debian-based distributions it is common to also add repositories specific to the distribution. For BL, there is

deb http://pkg.bunsenlabs.org/debian bunsen-hydrogen main

4. Avoiding using Ubuntu PPA repositories seems to be considered a good idea on Debian systems. (unless you're running Ubuntu, I guess). There may be good reasons to do it anyway, but don't be surprised if it causes problems.

5. I know nothing about Postgres. But if you search for, say,  "debian Postgres" in a web search engine, you may find what you need. I just did that in google, and it looks like there are packages in the Debian repositories for it. I would think installing Postgres from Debian repositories would be much more likely to work than installing from Ubuntu repositories.

I hope that helps.

Last edited by tynman (2016-09-18 03:50:02)

Offline

#8 2016-09-18 06:49:03

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Continued Systemic Issues with UPDATES and UPGRADES... Please Help

OP, didn't you have to type "I understand" when you installed BL? Remember what that was about?

Offline

#9 2016-09-18 17:34:24

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Continued Systemic Issues with UPDATES and UPGRADES... Please Help

perchslayer wrote:
Horizon_Brave wrote:

Would it be advisable to suggest to OP that if you're running or trying to use PPA's on a stable release, it sort of defeats the purpose, of the stability. Aren't PPA's an equivalent to our testing and unstable builds?

I am guessing that the term "OP" implicitly suggests that you are not addressing me directly, which is all fine and well. And I would still, nevertheless, like to gain a learning moment and also share with you where I am coming from FWIW.

1) I did not choose to wipe Windows 10 and install BL on my only laptop because it was a "stable release". No, I did so because I was frustrated with Windows and I wanted to see if I could manage a life and learn things in Linux--and stay away from the high-brow snot-nosed Slacker Linux types, etc. And that "learning process" and "life", in my mind, at least, included the idea of doing outrageous things like load Postgres (the defacto DB for Open Source GIS and Django, BTW) on my one and only laptop. But it could be that such is complete folly and the sort of thing only attempted by fools. And that indeed, I am, as you have clearly pointed out, I will (an am, currently) reap(ing) what I sow. Okay, if that is what you are saying, I hear you. And I gather that if I have somehow gotten in my feeble brain that I need the only open source RDBMS with geographic geometry support, that I need to take my pile and move to another repo, hey, I hear you pal, I will consider it, okay?

2) I would be fine with the finger wagging about PPAs if you managed to at least consider why I might want such things on my box. I mean this is not Facebook or porn or Minecraft here. This is a tool that, like MongoDB, for instance, is being leveraged on Linux boxes across the globe to get stuff done. Yes? No? Would you say stick with MySQL and realize that if you want to be BL that is all there is? Or just say "shame on you for considering PPAs?

BTW, I don't have a clear idea what is and what is not appropriate to put on my machine. However, as soon as I finish this posting, I am going straight to the BL page about such things to see just how many crimes and misdemeanors I have committed in my (self-assessed) well-meaning intentions.

Okay?


Perch your hostile tone was definitely not warranted. I didn't mean anything offensive, I'm well known around here to ask questions and make (plenty) of mistakes. I didn't mean to sound condescending at all, you really over reacted to my post buddy.  I wasn't finger wagging, as more of just seriously asking a question around the validity of bringing in PPA's. If I came off sounding like a douche, I apologize, but I think you took it way way too personal.

Last edited by Horizon_Brave (2016-09-18 17:34:59)


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#10 2016-09-18 19:23:47

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Continued Systemic Issues with UPDATES and UPGRADES... Please Help

To the OP ("Original Poster" ie the one who starts the thread)....

When you first installed BL you had to type "I understand" when the welcome screen described some of the risky things you can do to your Stable installation. One of them is to use ppa's, so if you choose to do that then "you get to keep the pieces" as we like to say. Of course it is possible to use ppa's, but you need some expertise and careful package management so as not to break Debian Stable.

You will get help in the BL forums (and @Horizon_Brave is one of the nicer and well-meaning contributors hereabouts), but please consider that you may be asking others to tidy up a self-inflicted problem, which the devs have gone to great lengths to flag up as hazardous activity.

If you want to use more recent software with ubuntu libraries, then it would be easier to use one of the Ubuntu or Mint flavours. If you prefer BunsenLabs then you may want to consider upgrading to Testing or Unstable in order to access newer library versions - but you will need to be careful when updating, and learn about apt-listbugs and how to hold packages back until bugfixes have come down.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#11 2016-09-19 05:26:02

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Continued Systemic Issues with UPDATES and UPGRADES... Please Help

damo wrote:

please consider that you may be asking others to tidy up a self-inflicted problem, which the devs have gone to great lengths to flag up as hazardous activity.

this is so well phrased, quoted for truth & future reference.

Offline

#12 2016-09-26 22:58:21

paxmark1
Member
Registered: 2015-10-02
Posts: 45

Re: Continued Systemic Issues with UPDATES and UPGRADES... Please Help

perchslayer

https://wiki.debian.org/DontBreakDebian

Some people use it for a sig.

Offline

Board footer

Powered by FluxBB