digiKam disaster
Pete Smout
smoutpete at gmail.com
Tue Feb 11 12:00:23 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 02/11/2014 11:54 AM, Liam Proven wrote:
> On 11 February 2014 07:54, Pete Smout <smoutpete at gmail.com> wrote:
>>>> Oops sorry :) sudo apt-get -f install
>>>
>>> Is this to install, or done after install?
>>
>> This should force (-f) all dependencies and missing lib files that your
>> system thinks it needs to be installed, hopefully ending any missing
>> dependency errors!
>
> `apt-get install -f` just means "fix". It tries to sort any dependency
> problems by adding or removing dependencies without needing to also
> add or remov any additional whole programs.
>
>>>> Sudo apt-get configure -a
>>
>> oops sorry that should have been sudo dpkg configure -a (too early for
>> me ;))
>> that should configure all (-a) see
>
> I was going to query that. I am not sure but I think you have still
> given it wrongly. I think you are trying to say that Rikona should use
> the `dpkg-reconfigure` command?
No dpkg -configure -a is the command I have used with great success in
the past, but I will bow to superior knowledge!
> This generates fresh configuration files for an installed package.
>
> However, what nobody has mentioned is `apt-get purge` which is a
> useful command, which removes all config files for a program that has
> been removed.
>
> The sequence would normally go
>
> [1] dpkg-reconfigure foo
>
> # Write a fresh config for program `foo`
>
> `foo` still not working? Then:
>
> [2] apt-get install -f
>
> `foo` still not working? Then:
>
> [3]
>
> apt-get remove foo
>
> # uninstall program
>
> apt-get autoremove
>
> # uninstall any other programs nothing now depends upon
>
> apt-get clean
>
> # empty the APT cache
>
> apt-get autoclean
>
> # more APT housekeeping
>
> apt-get purge
>
> # delete config files for anything no longer installed
>
> apt-get update
>
> # refresh APT repository database
>
> apt-get install foo -y
>
> # reinstall a clean copy with any dependencies
>
Thanks for clearly showing the correct sequence for troublesome apps,
hope this helps the op (I will certainly not those commands for the future!)
Pete S
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJS+hDWAAoJEIzKh2BFg+xDTQIIAJBYlZs4xpxexoyDf9OB/ODf
9IgDYE2PvrpDI9RtYbxoybQH1pcoOk92/QphKdHZoNJpItN+i+cxY41u50uEO55+
ep40sMy4ShIsWBHr6SrfrhiSj3nrxJbqxvTTF+YUxmWgnQC06BKOhIkpBVQwRvrS
nc5QFDlKqzOfg25yHjUHIckyo+LC8qzmyVqmyy3AFEkV48N7nHoHYS6G3Scii4IM
jOj/l+mZ9QfVdLdZ/Hi3dJn8TDSatgNalWnyK4PaqV/aUrJurULOJmp8dWTxt1rj
CJ6zkvduHXfs9SsGdB6RAoNqWzFNuafWbTnqSIlliguQql4PNPuw3ATyWRs0rtA=
=VvMQ
-----END PGP SIGNATURE-----
More information about the ubuntu-users
mailing list