I would say apt-get dist-upgrade( is defacto standard. I use aptitude
safe-upgrade(which almost like apt-get dist-upgrade).
There's nothing bad with running dist-upgrade.. the name is confusing, but
it doesn't upgrade trusty to xenial or similar (unless you take some steps
to do so).
apt-get upgrade doesn't upgrade kernel packages for instance.
Anyway, I've been struggling with this myself.
Since Dell doesn't know how to make working deb packages first you have to
purge your all srvadmin packages.
Something like this
chmod +x /opt/dell/srvadmin/{bin,sbin}/*
find /opt/dell/srvadmin/lib64/ -name '*.sh' |xargs chmod +x
sudo aptitude purge -y srvadmin-base srvadmin-deng srvadmin-hapi
srvadmin-omacore srvadmin-idracadm7 srvadmin-omilcore srvadmin-omacs
srvadmin-isvc srvadmin-xmlsup srvadmin-ominst srvadmin-omcommon syscfg
The order of which you remove packages seems to matter since you can end up
in the condition where you've removed the package that got some script that
is needed by some others package prerm or postrm script.
I like to use purge instead of remove since I don't have any custom
settings..
Then start with installing something like this..
apt-get install srvadmin-base
# this is needed because some srvadmin packages doesn't make their binaries
or scripts executable.
# its good practice to run these two commands between all srvadmin packages
you install until dell fixes the deb packages.
chmod +x /opt/dell/srvadmin/{bin,sbin}/*
find /opt/dell/srvadmin/lib64/ -name '*.sh' |xargs chmod +x
apt-get install srvadmin-omcommon
chmod +x /opt/dell/srvadmin/{bin,sbin}/*
find /opt/dell/srvadmin/lib64/ -name '*.sh' |xargs chmod +x
apt-get install syscfg
chmod +x /opt/dell/srvadmin/{bin,sbin}/*
find /opt/dell/srvadmin/lib64/ -name '*.sh' |xargs chmod +x
apt-get install srvadmin-storage-cli
chmod +x /opt/dell/srvadmin/{bin,sbin}/*
find /opt/dell/srvadmin/lib64/ -name '*.sh' |xargs chmod +x
If you got a gen13
apt-get install srvadmin-idracadm8
if you got a gen12
apt-get install srvadmin-idrac7
Restart srvadmin services.
/opt/dell/srvadmin/sbin/srvadmin-services.sh restart
The whole OMSA .deb experience is horrible! They would be better off
compiling everything with statically linked libraries and make a big
tarball of everything..
Good luck!
/Elias
2016-07-06 14:05 GMT+02:00 Remy Dernat <[email protected]>:
> 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
>
>
_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge