1

I created my own internal repository following the instructions here: How to create a local APT repository?

I added the line deb file:/usr/local/mydebs/ ./ to my /etc/apt/sources.list

How do I specify the --target-release if my target release is just ./?

For example if I added the line

deb http://mozilla.debian.net/ squeeze-backports iceweasel-release

to my /etc/apt/sources.list I would specify it like this

apt-get install -t squeeze-backports iceweasel

How to only install updates from a specific repository?

user784637
  • 11,465

1 Answers1

0

You need to include the version of the Debian-based system you are using - you can find it with:

cat /etc/os-release | grep VERSION=

In Ubuntu 13.10, you get this:

VERSION="13.10, Saucy Salamander"

So for Ubuntu 13.10, you would need to include the word saucy, like this line for one of the main repostories:

deb http://gb.archive.ubuntu.com/ubuntu/ saucy universe

You can look at the existing repositories on your system using:

cat /etc/apt/sources.list

In Ubuntu, you can add software using sudo add-apt-repository .., and then running sudo apt-get update. This may not work for outdated systems.

More here

Wilf
  • 30,732