Experiment with Gnome Volume Control on Ubuntu 9.10

OSS specific Linux discussion (x86/amd64)

Moderators: hannu, dev, cesium

Known Member
Posts: 1258
Joined: Sun Jun 28, 2009 9:31 pm

Re: Experiment with Gnome Volume Control on Ubuntu 9.10

Postby igorzwx » Wed Dec 14, 2011 10:32 am

Oliveber wrote:Wouldn't renaming break packages which depend on the renamed packages?

If the renamed package "A-nopulse" provides "A", the package "B", which depends on "A", will not be affected.

In short, you should correctly define:
1. provides
2. conflicts
3. replaces

EXAMPLE (Arch Linux: mplayer-svn renamed as mplayer-oss-svn):

Code: Select all

# old name "mplayer-svn"
pkgdesc="A movie player for linux"
arch=('i686' 'x86_64')
makedepends=('subversion' 'yasm' 'git')
provides=("mplayer" "mplayer=$pkgver" "mplayer-svn=$pkgver")
conflicts=("mplayer" "mplayer-svn" "mplayer-vaapi" "mplayer-gui-oss")
replaces=("mplayer" "mplayer-svn" "mplayer-vaapi" "mplayer-gui-oss")
./configure --prefix=/usr --disable-alsa --disable-arts --disable-esd --disable-pulse --disable-jack --confdir=/etc/mplayer --language=all

For Ubuntu newbies:

apt-get will not break your system or your packages, if you do not install anything by force. If something is wrong with dependencies, it will tell you.

dpkg can break your system completely without warnings, if, for example, you are trying to install some packages from a new Ubuntu on an old Ubuntu. It might be possible to fix this too, but it might be difficult.

Return to “Linux”

Who is online

Users browsing this forum: No registered users and 3 guests