Re: JACK Audio Connection Kit

2016-11-22 Thread Greg Wooledge
On Tue, Nov 22, 2016 at 02:06:35AM -0500, Ric Moore wrote:
> On 11/21/2016 11:38 PM, kamaraju kusumanchi wrote:
> >apt-rdepends --state-show=Installed --state-follow=Installed PKGNAME
> 
> 
> It lists just a couple of base packages.

So just paste the output here.  Or at least say which packages.



Re: JACK Audio Connection Kit

2016-11-22 Thread kamaraju kusumanchi
On Tue, Nov 22, 2016 at 5:07 AM, Martin Read  wrote:
> On 22/11/16 07:06, Ric Moore wrote:
>>
>> On 11/21/2016 11:38 PM, kamaraju kusumanchi wrote:
>>>
>>> apt-rdepends --state-show=Installed --state-follow=Installed PKGNAME
>>
>>
>>
>> It lists just a couple of base packages. So, why would it want to remove
>> half of mmy installed desktop? It's the same with firefox. What gives??
>> Ric
>
>
> kamaraju appears to have mistyped the command, omitting the vitally
> important (for this exercise) '-r' flag. As written, it will show you what
> PKGNAME depends on, directly or indirectly. The command is properly:
>
> apt-rdepends -r --state-show=Installed --state-follow=Installed PKGNAME
>
> (note the '-r' flag)
>
> This will show you what *depends on* PKGNAME (either by depending on it
> directly, or by depending on something that does). Now, this still won't get
> you a full answer, because it won't show you all the Automatically Installed
> packages that will be removed, but it will give you a starting point for
> understanding what's going on.
>

Thanks for correcting me Martin. Yes, you are right. We need the -r
flag for this use case.

raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog



Re: JACK Audio Connection Kit

2016-11-22 Thread Martin Read

On 22/11/16 07:06, Ric Moore wrote:

On 11/21/2016 11:38 PM, kamaraju kusumanchi wrote:

apt-rdepends --state-show=Installed --state-follow=Installed PKGNAME



It lists just a couple of base packages. So, why would it want to remove
half of mmy installed desktop? It's the same with firefox. What gives?? Ric


kamaraju appears to have mistyped the command, omitting the vitally 
important (for this exercise) '-r' flag. As written, it will show you 
what PKGNAME depends on, directly or indirectly. The command is properly:


apt-rdepends -r --state-show=Installed --state-follow=Installed PKGNAME

(note the '-r' flag)

This will show you what *depends on* PKGNAME (either by depending on it 
directly, or by depending on something that does). Now, this still won't 
get you a full answer, because it won't show you all the Automatically 
Installed packages that will be removed, but it will give you a starting 
point for understanding what's going on.




Re: JACK Audio Connection Kit

2016-11-22 Thread Richard Hector
On 16/11/16 07:38, Ric Moore wrote:
> Is there some reason removing the libjack-jackd2-0 package removes
> everything audio/video and the kitchen sink??

My theory goes something like this. You have a desktop environment
package installed - something like gnome, or in your case perhaps
xubuntu-desktop (suggesting you're asking about Ubuntu on a Debian list,
but never mind). That depends on a lot of applications which have been
deemed useful for such a desktop.

Some of them (eg timidity) depend on this jack package, so if you remove
jack, timidity has to go, and therefore the desktop package has to go.

But because all those applications were only installed because the
desktop depended on them (ie you didn't install them manually), they're
marked as automatic. So when you remove the desktop, aptitude at least
assumes that you probably no longer want all those other packages
either, and removes them.

The solution, then, might be to 'aptitude unmark auto' all the packages
that are required by xubuntu-desktop which you still want, so that you
can remove the xubuntu-desktop package without having any other effect.
Of course, if any of the packages you want directly depend on
libjack-blah, you have a problem.

xubuntu-desktop might not be the actual (or only) culprit, of course.

And I'm not sure how non-aptitude package managers behave in this regard.

Richard




signature.asc
Description: OpenPGP digital signature


Re: JACK Audio Connection Kit

2016-11-21 Thread Ric Moore

On 11/21/2016 11:38 PM, kamaraju kusumanchi wrote:

apt-rdepends --state-show=Installed --state-follow=Installed PKGNAME



It lists just a couple of base packages. So, why would it want to remove 
half of mmy installed desktop? It's the same with firefox. What gives?? Ric

--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html



Re: JACK Audio Connection Kit

2016-11-21 Thread kamaraju kusumanchi
On Tue, Nov 15, 2016 at 1:38 PM, Ric Moore  wrote:
> Is there some reason removing the libjack-jackd2-0 package removes
> everything audio/video and the kitchen sink??
>
> The following packages will be REMOVED:
>   buzztrax cheese clementine cube2 espeak ffmpeg flare-engine flare-game
>   fluidsynth giada gir1.2-cheese-3.0 gmidimonitor gnome-video-effects
>   gstreamer1.0-plugins-bad gstreamer1.0-plugins-good indicator-sound
>   libasound2-plugins libavdevice57 libcanberra-pulse libcheese-gtk25
>   libcheese8 libespeak1 libfarstream-0.2-5 libfluidsynth1 libjack-jackd2-0
>   libportaudio2 libpurple-bin libpurple0 librtmidi3 libsdl-mixer1.2
>   libsdl-mixer1.2-dev libsdl2-mixer-2.0-0 libsdl2-mixer-dev libxine2
>   libxine2-misc-plugins libxine2-plugins midisnoop milkytracker mpg123 osspd
>   osspd-pulseaudio petri-foo pidgin pidgin-libnotify projectm-pulseaudio
>   pulseaudio pulseaudio-esound-compat qmidiarp qsynth redeclipse sauerbraten
>   sdlbasic sdlbrt seq24 showq soundconverter speech-dispatcher timidity
>   timidity-daemon widelands xine-ui xubuntu-core xubuntu-desktop yoshimi
> 0 upgraded, 0 newly installed, 64 to remove and 0 not upgraded.
> After this operation, 924 MB disk space will be freed.
> Do you want to continue? [Y/n]
>
> Damn, that is a LOT!
>

To recursively list all packages that are installed on a system and
are dependencies of a package, you can do

apt-rdepends --state-show=Installed --state-follow=Installed PKGNAME

Run the above command with PKGNAME as libjack-jackd2-0 and it should
give you an idea of why the package manager is trying to remove so
many packages.

hth
raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog



Re: JACK Audio Connection Kit

2016-11-16 Thread Martin Read

Ric Moore wrote:
> Is there some reason removing the libjack-jackd2-0 package removes
> everything audio/video and the kitchen sink??

Because:

1) some of the things on that list declare libjack-jackd2-0 as a 
dependency (probably because they are libraries or programs which are 
linked against the libraries contained in libjack-jackd2-0), so will be 
removed due to having an unfulfilled dependency.


2) some of the things on that list declare things in (1) as 
dependencies, so will be removed due to having unfulfilled dependencies.


3) some of the things on that list may be automatically-installed 
prerequisites for things in (1) and (2) which no longer have any reason 
to be installed if everything in (1) and (2) is being removed, so will 
be removed due to being automatically-installed packages which no longer 
have a reason to be installed.


As a general rule, removing packages whose name begins with 'lib' and 
doesn't end in '-dev' or -doc' should be *expected* to produce this kind 
of result.




Re: JACK Audio Connection Kit

2016-11-15 Thread Gene Heskett
On Tuesday 15 November 2016 13:38:46 Ric Moore wrote:

> Is there some reason removing the libjack-jackd2-0 package removes
> everything audio/video and the kitchen sink??
>
> The following packages will be REMOVED:
>buzztrax cheese clementine cube2 espeak ffmpeg flare-engine
> flare-game fluidsynth giada gir1.2-cheese-3.0 gmidimonitor
> gnome-video-effects gstreamer1.0-plugins-bad gstreamer1.0-plugins-good
> indicator-sound libasound2-plugins libavdevice57 libcanberra-pulse
> libcheese-gtk25 libcheese8 libespeak1 libfarstream-0.2-5
> libfluidsynth1 libjack-jackd2-0 libportaudio2 libpurple-bin libpurple0
> librtmidi3 libsdl-mixer1.2 libsdl-mixer1.2-dev libsdl2-mixer-2.0-0
> libsdl2-mixer-dev libxine2 libxine2-misc-plugins libxine2-plugins
> midisnoop milkytracker mpg123 osspd
>osspd-pulseaudio petri-foo pidgin pidgin-libnotify
> projectm-pulseaudio pulseaudio pulseaudio-esound-compat qmidiarp
> qsynth redeclipse sauerbraten
>sdlbasic sdlbrt seq24 showq soundconverter speech-dispatcher
> timidity timidity-daemon widelands xine-ui xubuntu-core
> xubuntu-desktop yoshimi 0 upgraded, 0 newly installed, 64 to remove
> and 0 not upgraded. After this operation, 924 MB disk space will be
> freed.
> Do you want to continue? [Y/n]
>
> Damn, that is a LOT!

You didn't relay what package manager you are using my old friend.


That sounds like something aptitude would do. I've had 2 systems totally 
destroyed by it now, the last one because it assumed an automatic yes 
that I didn't give it.  So I don't trust anything but synaptic-pkexec to 
do the right thing anymore.  The pkexec means you run it as yourself, 
and it will ask you for your passwd to get its root privs, after it 
checks to see if you are in the sudoers file.

Cheers Ric, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page