[SOLVED] Do you want to continue? [Y/n]

Talking about SolydXK, another distribution or totally off-topic but within the Rules ? It's the right place!
User avatar
palimmo
Posts: 824
Joined: 19 Nov 2013 19:44
Contact:

[SOLVED] Do you want to continue? [Y/n]

Postby palimmo » 31 Jan 2015 10:03

I'm not sure that YES is the right answer. What do you think?

Code: Select all

~ $ sudo apt-get remove --purge `deborphan`
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libavresample1 libfftw3-long3 libimage-magick-perl libimage-magick-q16-perl
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  baloo* gstreamer0.10-alsa* gstreamer0.10-plugins-good*
  gstreamer0.10-plugins-ugly* libass4* libavfilter4* libavutil53*
  libavutil53:i386* libbluedevil1* libboost-system1.54.0* libexiv2-12* libfftw3-3*
  libgeoclue0* liblcms1* liblivemedia32* liblognorm0* libmagick++5* libmbim-glib0*
  libmusicbrainz5-0* libnepomukwidgets4abi1* libokularcore4* libopenconnect2*
  libparted0debian1* libpoppler44* libqmi-glib0* libssh-4* libsystemd-id128-0*
  libsystemd-id128-0:i386* libsystemd-journal0:i386* libsystemd-login0* libtar0*
  libts-0.0-0* libupower-glib1* libwine-bin:i386* libx265-21* libx265-21:i386*
  perlmagick*
0 upgraded, 0 newly installed, 37 to remove and 0 not upgraded.
After this operation, 28.0 MB disk space will be freed.
Do you want to continue? [Y/n]
Proud user of SolydK!

Dai diamanti non nasce niente, dal letame nascono i fior. http://aquilone.wordpress.com/

kurotsugi
Posts: 2260
Joined: 09 Jan 2014 00:17

Re: Do you want to continue? [Y/n]

Postby kurotsugi » 31 Jan 2015 10:16

they were either deprecated or obsolete. so the answer is yes.

User avatar
patzy
Posts: 410
Joined: 15 Dec 2013 08:32
Location: Australia

Re: Do you want to continue? [Y/n]

Postby patzy » 31 Jan 2015 10:19

That's an awful lot of libraries to remove. I wonder how many may be used by other programs?
I would probably leave well alone.

I remember hearing from someone who had pressed Y on being told that packages would be removed, he had not checked what was in the list, and it killed his machine! :shock:

User avatar
palimmo
Posts: 824
Joined: 19 Nov 2013 19:44
Contact:

Re: Do you want to continue? [Y/n]

Postby palimmo » 31 Jan 2015 10:38

I'm confused...
Proud user of SolydK!

Dai diamanti non nasce niente, dal letame nascono i fior. http://aquilone.wordpress.com/

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Do you want to continue? [Y/n]

Postby Zill » 31 Jan 2015 12:39

palimmo: Why do you want to remove the deborphan package and all its dependencies? I have this package on my SolydX system and get a similar list if I simulate its removal.

User avatar
grizzler
Posts: 2197
Joined: 04 Mar 2013 15:45
Location: The Hague, NL

Re: Do you want to continue? [Y/n]

Postby grizzler » 31 Jan 2015 13:03

That's not what's happening. Check the backticks... ;)
Frank

SolydX EE 64 - tracking Debian Testing

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Do you want to continue? [Y/n]

Postby Zill » 31 Jan 2015 13:13

Thanks grizzler. I just did a quick copy and paste with the line and added a "-s" to see what would happen. I must admit that the output was not what I expected to see! ;-)

Put it down to another senior moment. :-)

User avatar
wyrdoak
Posts: 113
Joined: 07 Jan 2014 21:25

Re: Do you want to continue? [Y/n]

Postby wyrdoak » 31 Jan 2015 14:19

palimmo wrote:I'm not sure that YES is the right answer. What do you think?

Code: Select all

~ $ sudo apt-get remove --purge `deborphan`
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libavresample1 libfftw3-long3 libimage-magick-perl libimage-magick-q16-perl
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  baloo* gstreamer0.10-alsa* gstreamer0.10-plugins-good*
  gstreamer0.10-plugins-ugly* libass4* libavfilter4* libavutil53*
  libavutil53:i386* libbluedevil1* libboost-system1.54.0* libexiv2-12* libfftw3-3*
  libgeoclue0* liblcms1* liblivemedia32* liblognorm0* libmagick++5* libmbim-glib0*
  libmusicbrainz5-0* libnepomukwidgets4abi1* libokularcore4* libopenconnect2*
  libparted0debian1* libpoppler44* libqmi-glib0* libssh-4* libsystemd-id128-0*
  libsystemd-id128-0:i386* libsystemd-journal0:i386* libsystemd-login0* libtar0*
  libts-0.0-0* libupower-glib1* libwine-bin:i386* libx265-21* libx265-21:i386*
  perlmagick*
0 upgraded, 0 newly installed, 37 to remove and 0 not upgraded.
After this operation, 28.0 MB disk space will be freed.
Do you want to continue? [Y/n]
Are you sure you're wanting to do this? I think this is the command you want?

Code: Select all

# apt-get remove --purge $(deborphan)

Acer Aspire One AO532h; CPU Atom n450 1.66Gh: 2GB RAM, duel boot with Win7: SolydK32

User avatar
grizzler
Posts: 2197
Joined: 04 Mar 2013 15:45
Location: The Hague, NL

Re: Do you want to continue? [Y/n]

Postby grizzler » 31 Jan 2015 14:31

Put on your glasses, people! :lol:

Really, ` ` and $( ) do essentially the same thing.

Actually, I would do apt purge $(deborphan) but that's just me being lazy...


On topic (yes!), palimmo, according to the man page it should be safe to remove what deborphan suggests. I'm not sure I would bother, though.
Frank

SolydX EE 64 - tracking Debian Testing

User avatar
palimmo
Posts: 824
Joined: 19 Nov 2013 19:44
Contact:

Re: Do you want to continue? [Y/n]

Postby palimmo » 31 Jan 2015 14:37

AFAIK,

Code: Select all

sudo apt-get remove --purge `deborphan`
is the right command to remove orphaned and unused packages/libraries.
Anyway, in my case it lists some packages (baloo, gstreamer, libsystemd,..) that I suppose are quite important.
But maybe I'm wrong. That's the reason of the topic.
Proud user of SolydK!

Dai diamanti non nasce niente, dal letame nascono i fior. http://aquilone.wordpress.com/

User avatar
wyrdoak
Posts: 113
Joined: 07 Jan 2014 21:25

Re: Do you want to continue? [Y/n]

Postby wyrdoak » 31 Jan 2015 14:45

Thanks Grizzler, didn't realize the syntax was that flexible. Like with most religions we are saying the same thing, but arguing syntax.

Acer Aspire One AO532h; CPU Atom n450 1.66Gh: 2GB RAM, duel boot with Win7: SolydK32

kurotsugi
Posts: 2260
Joined: 09 Jan 2014 00:17

Re: Do you want to continue? [Y/n]

Postby kurotsugi » 31 Jan 2015 18:17

they're obsolete so you can purge them safely :3

- baloo have been moved into baloo4.
- libsystemd-xxxxx is deprecated (all of them now merged into libsystemd0).
- some of multimedia stuff have been moved into newer gstreamer1.0.
- perlmagick is now moved into imagemagick.

apt-get only offer one solution and it always the safest one. it won't uninstall any packages unless you really really really need to do. pros: good for system stability. cons: it doesn't handle package transition well and you'll get lot of obsolete packages over time.

User avatar
palimmo
Posts: 824
Joined: 19 Nov 2013 19:44
Contact:

Re: Do you want to continue? [Y/n]

Postby palimmo » 31 Jan 2015 21:53

Thanks kurotsugi for the explanation.
Anyway, I ran the command and rebooted.
So far everything is okay.
Proud user of SolydK!

Dai diamanti non nasce niente, dal letame nascono i fior. http://aquilone.wordpress.com/

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: Do you want to continue? [Y/n]

Postby Zill » 31 Jan 2015 22:46

palimmo wrote:...Anyway, I ran the command and rebooted...
This is Linux! No need to reboot. :-)


Return to “Open Chat / General Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests