Many repository directories are organized as dists, pool etc. And anyone can simply edit sources.list file in order to add new repo.

I need to add an extraordinarily structured repo like this.

How can I add this repo without supplying any release and repo name?

(It seems that, according to given answer, adding / at the end works, instead of release name repo name)


From official documentation we can use the following method:

2.3.3 Install on Debian based Linux Distributions

Debian / Ubuntu

Bareos Version >= 15.2.0 requires the Jansson library package. On Ubuntu is it available in Ubuntu Universe. In Debian, is it included in the main repository.

# define parameter 

# or 
# DIST=Debian_8.0 
# DIST=xUbuntu_16.04 
# DIST=xUbuntu_14.04 
# DIST=xUbuntu_12.04 

# or 
# RELEASE=release/latest/ 
# RELEASE=experimental/nightly/ 


# add the Bareos repository 
printf "deb $URL /\n" > /etc/apt/sources.list.d/bareos.list 

# add package key 
wget -q $URL/Release.key -O- | apt-key add - 

# install Bareos packages 
apt-get update 
apt-get install bareos bareos-database-postgresql

Mentioned Jansson library is packaged on Ubuntu.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.