Am 25-Sep-2021 22:44:10 +0200 schrieb davinchu...@gmail.com:
> Thanks again, Sebastian, but these instructions do not apply to the problem 
> I'm having. I have apparently installed PostgreSQL correctly. And I know what 
> to do when I get to the Bacula configuration. My issue lies between those two 
> steps, in getting Bacula onto my system in the first place. "apt-get" is 
> failing to GET the Bacula package.
> 
> HOWEVER, I think I've gotten around the problem. The only thing new I did 
> this time was an "apt upgrade" (just trying things at random). After that 
> point, trying to install Bacula again seems to have worked! I wish this step 
> had been included in the Installation Guide, if it's so important.
> 
> Thanks for all your help!
> 
> Davin

Okay I see. Mistyping a package on apt throws the exact same error(E: Unable to 
locate package ...). Since I didn't find a package that's exactly named 
"bacula-postgresql"(the most similiar are "bacula-common-pgsql" and 
"bacula-director-pgsql", as mentioned) I thought it's a typing error 
problem(that's usually the problem I have).

Okay I'm happy to hear that you managed it! But can it be that the command that 
got you running is "apt update"? "apt update" and "apt upgrade" look very 
similiar but do two different things, that are often used together.
I try to explain:
"apt update" updates the package-source list, to get the latest packages that 
are available in the repositories
"apt upgrade" takes the previously mentioned list and compares your installed 
packages against this list. If there are packages with a higher version number 
it asks you if you want to install the new packages. 

I don't know how exactly they work("apt update" also displays upgradable 
packages and should therefore do some comparing too) but I think we can go with 
"apt update" gets the list, and "apt upgrade" the packages.

You can use them together in the following command, to keep your system up to 
date:
"apt update && apt upgrade"   Or only "apt update" to get the list and with 
"apt install packagename" the latest version of a given package.

If you have trouble with Linux and wrapping your head around it I can suggest 
the book "Linux Bible" by Christopher Negus ISBN-13:978-1119578888. Quite 
offensive name but good book.     No problem. I got help too and now I'm trying 
to give something back.   Best wishes   Sebastian     

-------------------------------------------------------------------------------------------------
FreeMail powered by mail.de - MEHR SICHERHEIT, SERIOSITÄT UND KOMFORT
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to