Re: OMSA broken package Ubuntu Trusty
Remy Dernat <[email protected]> Wed, 6 Jul 2016 15:39:17 +0200
| Newsgroups | gmane.linux.hardware.dell.poweredge |
|---|---|
| Message-ID | <[email protected]> |
Ok, I have been able to remove/ purge and clean all OpenManage content
from my apt system:
dpkg -l | awk '/srvadmin/ {print $2}' |xargs apt-get -f -y remove
aptitude autoclean
aptitude clean
apt-get autoremove # for dependencies
dpkg -l |grep -Ev "^rc|^ii|^un"
-> Should return nothing. (*)
If not, and if a packet needs a non-existing file just add the file with
the exec permission and following (stupid) content:
#!/bin/bash
exit 0
However, now, I have not OpenManage on my system :)
!!
I think a basic install script from source/tarball would be a better
solution (./configure/make/sudo make install) for most of them.
I saw some sources here: http://linux.dell.com/repo/community/ubuntu/source/
But there is no documentation/README on how to install (?) and choose
what is needed (?).
Best regards,
Remy
(*) I found another dpkg interesting option with debsums, which aims to
reinstall your corrupted packages:
debsums -c 2>&1 | cut -d " " -f 4 | sort -u | xargs -rd '\n' -- dpkg
-S | cut -d : -f 1 | sort -u | xargs -rd '\n' -- sudo apt-get -y -f
install --reinstall
Le 06/07/2016 14:05, Remy Dernat a écrit :
> Hi,
>
> This seems to be common issue, but I was not able to find any
> satisfing answer to solve this problem.
>
> After running:
> # aptitude update
> and
> # aptitude -y safe-upgrade
>
> I broke my local apt system:
> dpkg -l *srvadmin-* |grep -E "^pF|^ii|^ri"
> pF srvadmin-deng 8.3.0-1 amd64
> Dell OpenManage Data Engine
> ii srvadmin-jre 8.3.0-1 amd64
> Oracle Java Runtime Environment
> ii srvadmin-omacs 8.3.0-2
> amd64 Dell OpenManage Server Administrator OMACS
> ii srvadmin-omcommon 8.3.0-2
> amd64 Dell OpenManage Server Administrator Common Framework
> ii srvadmin-omilcore 8.3.0
> all Dell OpenManage Server Administrator Install Core
> ri srvadmin-rac-components 7.4.0-1
> amd64 Remote Access Controller SNMP components for Server
> Administrator.
> ri srvadmin-rac4-populator 7.4.0-1
> amd64 Remote Access Controller data populator components for
> Server Administrator.
> ri srvadmin-racadm4 7.4.0-1
> amd64 The command line user interface to the Remote Access
> Controller (RAC).
> ri srvadmin-tomcat 7.4.0-1
> amd64 Secure Port Server and Server Administrator GUI
>
> I tried both 740 and 830 version of OpenManage in my apt sources:
> deb http://linux.dell.com/repo/community/ubuntu trusty openmanage/740
> As described here:
> http://lists.us.dell.com/pipermail/linux-poweredge/2016-May/050554.html
>
> Trying to remove / downgrade or upgrade did not fix that issue.
> I also tried many manual tricks like '--download-only' and then,
> manual install/purge (eg:
> http://askubuntu.com/questions/438345/how-to-remove-install-a-package-that-is-not-fully-installed
> ,
> http://askubuntu.com/questions/525088/how-to-delete-broken-packages-in-ubuntu).
> I am switching indefinitely from a broken package to another:
> srvadmin-isvc -> srvadmin-rac-components -> srvadmin-deng
> ...
>
> BTW, I saw this warning on main repository webpage
> (http://linux.dell.com/repo/community/ubuntu/):
>
>
> Important note for upgrading
>
> If you are upgrading, in step 4, you must use*apt-get
> install/<meta-package name>/*or*apt-get dist-upgrade*. Do not
> use*apt-get upgrade*, as doing so will not upgrade all the necessary
> packages.
>
>
>
> However, this warning is not realistic in a production environment...
>
>
> Moreover, now there is ubuntu xenial and the only availables
> repository are for trusty.
>
>
>
>
> Any help would be *very* useful...
>
> Best regards,
> Remy
>
>
> --
> Rémy Dernat
> Ingénieur d'Etudes
> MBB/ISE-M
>
>
> _______________________________________________
> Linux-PowerEdge mailing list
> [email protected]
> https://lists.us.dell.com/mailman/listinfo/linux-poweredge
--
Rémy Dernat
Ingénieur d'Etudes
MBB/ISE-M
_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge