[Rock-dev] Autoproj apt-get bug

Martin Fritsche Martin.Fritsche at dfki.de
Thu Nov 17 10:44:16 CET 2011


Charles Lesire-Cabaniols schrieb:
> Hi,
> 
> When using autoproj in osdeps mode, it launches 'sudo apt-get install'
> to get dependencies with the '-y' argument.
> My system (Ubuntu 10.04) complains that "-y is used without --force-yes".

That's not a bug, it's a feature. The missing --force-yes helps to
protect your system. According to the manpage "Using force-yes can
potentially destroy your system!" When you apply it, apt-get doesn't
abort or ask even if it wants to remove essential system packages. This
can result in a non working system.

> I had to add the --force-yes argument to the apt-get commands on the
> autoproj_bootstrap script, and on autoproj osdeps.rb file.

You really should undo this.

Martin

-- 
Dipl.-Inf. Martin Fritsche
Unterwasserrobotik

DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 17845-4134
Fax:   +49 (0)421 17845-4150
E-Mail: martin.fritsche at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3
-----------------------------------------------------------------------

-------------- nächster Teil --------------
Ein Dateianhang mit Bin�rdaten wurde abgetrennt...
Dateiname   : signature.asc
Dateityp    : application/pgp-signature
Dateigr��e  : 262 bytes
Beschreibung: OpenPGP digital signature
URL         : http://www.dfki.de/pipermail/rock-dev/attachments/20111117/24ee305b/attachment.pgp 


More information about the Rock-dev mailing list