TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: PETE
from: COMPUTER NERD KEV
date: 2019-07-08 23:49:00
subject: Re: Trouble using apt-get

Pete  wrote:
> In article , Pete 
wrote:
>>In article ,
>>Computer Nerd Kev  wrote:
>>
>>>I'm not a Raspbian user, but the first post includes reference to:
>>>http://archive.raspberrypi.org/debian
>>>and browsing that in a web browser finds a "dists/wheezy" directory.
>>>
>>Thanks, but digging into that seems to show that it's only raspbian
>>itself.  No other packages.

The packages are in the "pool" directory. The package manager gets
the package lists from within the "dists/wheezy" directory, then
uses that to locate compatible packages within "pool/".

>>The format of the list is a bit different.  Not sure how it works:
>>
>> deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib
>>non-free rpi
>> deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main
>>contrib non-free rpi
>>
> Well, maybe I'll forgive 'em... (:-/)  I should always remember
> to wander the web a bit before complaining too hard.  I did a
> search for "raspberrypi wheezy repo", and it threw up a forum
> discussion sparked by somebody with just the same problem.
> The answer is to replace the url above with:
>
>   http://legacy.raspbian.org/raspbian/

I'm guessing they're Raspbian specific packages, while the other
archive link is for Debian packages that are compatible with
Rasbian. If so, then you'd want both in /etc/sources.list

> I just put that in both the above lines (not sure if I should have
> changed the 'deb-src' line -- maybe they are still appropriate?),
> and I was able to install my package.  (After remembering to also
> do "apt-get update"!)

Yes, put it in the deb-src part as well. I'm not sure what the format
is for the Debian archive in /etc/sources.list. There's "main",
"staging", and "untested". If I assume that this is about testing
Debian packages to see whether they break under Raspbian, perhaps
use:
deb http://archive.raspberrypi.org/debian wheezy main
deb-src http://archive.raspberrypi.org/debian wheezy main

But as I say, I'm not a Rasbian user and am just guessing based
on my knowledge of Debian. Anyway you've got the package you wanted,
so maybe it doesn't matter until the next time you want to install
a new program.

--
__          __
#_ < |\| |< _#

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.