Orphans

General talk about packaging procedures and packages.
User avatar
autogestion
Posts: 29
Joined: 6. May 2010, 20:26
Location: Cataluña, España

Orphans

Post by autogestion »

¡Hola!

¿Cómo se eliminan los paquetes huérfanos? ¿Existe un equivalente a apt-get autoremove?

¡Gracias!

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Hello!

How delete the orphan packages? It exists an equivalent to apt-get autoremove?

Thanks!

Translated by opentrad.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Orphans

Post by thenktor »

How would the PC know what packages are not needed anymore? :P
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Orphans

Post by JRD »

When you install a package, it is marked as "manually installed" and it's depedancies marked as "automatically installed".
If an "automatically installed" package is not used by any other package, it could be elected to remove.
This is the way Debian try to work out with this.

In Salix/Slackware, I don't think it's possible, as there is no difference between a package choosen to be installed by the user and a package installed by dependancy.
Image
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Orphans

Post by Shador »

One would "just" need a database where this information is maintained locally, I guess that would be no problem on Slackware either.
But when I look at the time aptitude needs to initialize itself, I'm happier with slapt-get. apt-get is comparable fast but afaik it doesn't do that fancy dependency tracking and so on.
When I think about the Slackware way of doing it with no dependency, then our way with and the the Debian way, there are miles between. Such a feature would make us significantly different from Slackware and as I don't think it's something the Slackware user base could want, I'd judge it rather negative.
Image
User avatar
autogestion
Posts: 29
Joined: 6. May 2010, 20:26
Location: Cataluña, España

Re: Orphans

Post by autogestion »

¡Hola!

No he acabado de entender bien las respuestas, porque tengo el inconveniente de no hablar inglés y los traductores automáticos todavía no son perfectos. Pero acabo de consultar la versión castellana de Slackware Essentials y descubrir que las gestión de dependencias no es automática sino labor del administrador. Bueno, ahora ya lo sé y lo tendré en cuenta cuando instale aplicaciones.

¡Saludos!

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Hello!

I have not finished to understand well the answers, because I have the handicap of not speaking English and the automatic translators still are not perfect. But finish to consult the Spanish version of Slackware Essentials and discover that the management of dependencies is not automatic but labor of the administrator. Well, now already know it and will have it in account when it install applications.

Greetings!

Translated by opentrad.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Orphans

Post by thenktor »

Shador wrote:One would "just" need a database where this information is maintained locally, I guess that would be no problem on Slackware either.
But when I look at the time aptitude needs to initialize itself, I'm happier with slapt-get. apt-get is comparable fast but afaik it doesn't do that fancy dependency tracking and so on.
When I think about the Slackware way of doing it with no dependency, then our way with and the the Debian way, there are miles between. Such a feature would make us significantly different from Slackware and as I don't think it's something the Slackware user base could want, I'd judge it rather negative.
Such a feature is totally not KISS for me and IMHO it's pure nonsense. Why would I care about some unneeded packages that are installed? They only need few MB on my many GB hard disc. :twisted: :mrgreen:
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Orphans

Post by Shador »

thenktor wrote: Such a feature is totally not KISS for me and IMHO it's pure nonsense. Why would I care about some unneeded packages that are installed? They only need few MB on my many GB hard disc. :twisted: :mrgreen:
So we totally agree then. Maybe I didn't outline it sufficiently. :mrgreen:
Image
User avatar
SalmonEater
Posts: 35
Joined: 8. Jun 2010, 22:46
Location: Inland Pacific NW

Re: Orphans

Post by SalmonEater »

[quote="autogestion"]¡Hola!

¿Cómo se eliminan los paquetes huérfanos? ¿Existe un equivalente a apt-get autoremove?

¡Gracias!

-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Mira la pagina : http://www.basicconfig.com/linux/slackpkg

En slackpkg hay el mandato

Code: Select all

 slackpkg clean-system
que se usa al fin
" . . . only when the last fish is caught will these people realize they cannot eat money." -- Cree proverb
User avatar
Duncan_Idaho
Posts: 216
Joined: 19. Sep 2009, 01:43
Location: Sietch Tabr, Planet Arrakis

Re: Orphans

Post by Duncan_Idaho »

Mira la pagina : http://www.basicconfig.com/linux/slackpkg

En slackpkg hay el mandato

Code: Select all

 slackpkg clean-system
que se usa al fin
clean-system - Removes all of the packages that don't belong to a standard Slackware installation.
¿pero acaso eso no eliminaría los paquetes de salix que no son parte de la instalación de slackware?
------------------------------------------------------------
but wouldn't that remove salix packages that aren't part of the slackware installation?
User avatar
SalmonEater
Posts: 35
Joined: 8. Jun 2010, 22:46
Location: Inland Pacific NW

Re: Orphans

Post by SalmonEater »

From the documentation, I'd say it would. But I'm new to Salix and Slackware,too.

Like the man from Spain, I was looking for the equivalent to

Code: Select all

apt-get autoremove
Maybe someone is able to tell both of us if this is just an approximation that slapkg provides in the

Code: Select all

slackpkg clean-system
command or an equivalent. The uncertainty is the issue.
" . . . only when the last fish is caught will these people realize they cannot eat money." -- Cree proverb
Post Reply