Re: apt-get error
Hello I still get
'Errors were encountered while processing:
sitebar'
Can you help?
Gavin
E: Sub-process /usr/bin/dpkg returned an error code (1)
On Thu, 2005-10-20 at 09:52 +0200, Giacomo Mulas wrote:
> On Wed, 19 Oct 2005, Dr Gavin Seddon wrote:
>
> > Hi, I am stuck in another viscious one,
> > 'dpkg --remove belocs-locales-data
> > dpkg: dependency problems prevent removal of belocs-locales-data:
> > belocs-locales-bin depends on belocs-locales-data.
> > localeconf depends on locales; however:
> > Package locales is not installed.
> > Package belocs-locales-data which provides locales is to be removed.
> > dpkg: error processing belocs-locales-data (--remove):
> > dependency problems - not removing
> > Errors were encountered while processing:
> > belocs-locales-data
> > debian1:/home/mbpssgms# dpkg --remove belocs-locales-bin
> > dpkg: dependency problems prevent removal of belocs-locales-bin:
> > belocs-locales-data depends on belocs-locales-bin.
> > dpkg: error processing belocs-locales-bin (--remove):
> > dependency problems - not removing
> > Errors were encountered while processing:
> > belocs-locales-bin'
> >
> > Can anyone help me remove this?
>
> Ok, this is not something you should usually do, however:
>
> dpkg --force-depends -r belocs-locales-data belocs-locales-bin
>
> this will force removal of the offending packages; then, to install
> locales, do (I am assuming you already downlowded and have available
> the locales package you want to install):
>
> dpkg -i the_appropriate_locales_package.deb
>
> Finally, do
>
> dpkg-reconfigure locales
>
> to properly configure which locales you want installed in your system.
> However, how could you possibly put your system in such an inconsistent
> state? This should never happen unless you fiddle very heavily with
> dangerous tools, such as hand-using dpkg with --force options as
> above, or trying to remove essential packages...
>
> Bye
> Giacomo
>
> --
> _________________________________________________________________
>
> Giacomo Mulas <gmulas@ca.astro.it>
> _________________________________________________________________
>
> OSSERVATORIO ASTRONOMICO DI CAGLIARI
> Str. 54, Loc. Poggio dei Pini * 09012 Capoterra (CA)
>
> Tel. (OAC): +39 070 71180 248 Fax : +39 070 71180 222
> Tel. (UNICA): +39 070 675 4916
> _________________________________________________________________
>
> "When the storms are raging around you, stay right where you are"
> (Freddy Mercury)
> _________________________________________________________________
>
Reply to: