Broken Packages
I looked at the Recent Updates on the Arch Main page and see
im up to date
and i also see that revdep-rebuild (findbrokenpkgs) finds a lot of broken packages on my system
Checking dynamic linking consistency...
/usr/bin/amarokmp3tunesharmonydaemon needs missing libloudmouth-1.so.0
/usr/bin/cantor_rserver needs missing libR.so
/usr/bin/espeak-synthesis-driver needs missing libespeak.so.1
/usr/bin/jack_netsource needs missing libcelt0.so.2
/usr/bin/playdv needs missing libgdk-1.2.so.0 libgtk-1.2.so.0
/usr/lib/ImageMagick-6.7.3/modules-Q16/coders/wmf.so needs missing libwmf-0.2.so.7 libwmflite-0.2.so.7
/usr/lib/ardour2/surfaces/libardour_wiimote.so needs missing libardour.so libardour_cp.so libcwiid.so.1 libglibmm2.so libmidi++.so libpbd.so libsigc++2.so
/usr/lib/brasero3/plugins/libbrasero-libburn.so needs missing libburn.so.4 libisofs.so.6
/usr/lib/brasero3/plugins/libbrasero-libisofs.so needs missing libburn.so.4 libisofs.so.6
/usr/lib/jack/jack_firewire.so needs missing libffado.so.2
/usr/lib/jack/jack_net.so needs missing libcelt0.so.2
/usr/lib/kde4/amarok_service_gpodder.so needs missing libmygpo-qt.so.1
/usr/lib/kde4/plugins/marble/GpsdPositionProviderPlugin.so needs missing libgps.so.20
/usr/lib/libavahi-qt3.so.1.0.2 needs missing libqt-mt.so.3
/usr/lib/libboost_graph_parallel.so.1.48.0 needs missing libmpi.so.1 libmpi_cxx.so.1
/usr/lib/libboost_mpi.so.1.48.0 needs missing libmpi.so.1 libmpi_cxx.so.1
/usr/lib/libboost_mpi_python.so.1.48.0 needs missing libmpi.so.1 libmpi_cxx.so.1
/usr/lib/libreoffice/basis3.4/program/liblnthlx.so needs missing libmythes-1.2.so.0
/usr/lib/libreoffice/basis3.4/program/libmsworkslx.so needs missing libwpg-0.2.so.2
/usr/lib/libreoffice/basis3.4/program/libwpftlx.so needs missing libwpg-0.2.so.2
/usr/lib/libreoffice/basis3.4/program/libwpgimportlx.so needs missing libwpg-0.2.so.2
/usr/lib/libsvn_swig_ruby-1.so.0.0.0 needs missing libruby.so.1.9
/usr/lib/mpi.so needs missing libmpi.so.1 libmpi_cxx.so.1
/usr/lib/ocaml/stublibs/dlllabltk.so needs missing libtk8.5.so
/usr/lib/purple-2/tcl.so needs missing libtk8.5.so
/usr/lib/python2.7/lib-dynload/_tkinter.so needs missing libtk8.5.so
/usr/lib/python2.7/site-packages/PyQt4/QtAssistant.so needs missing libQtAssistantClient.so.4
/usr/lib/python3.2/lib-dynload/_tkinter.cpython-32mu.so needs missing libtk8.5.so
/usr/lib/python3.2/site-packages/PyQt4/QtAssistant.so needs missing libQtAssistantClient.so.4
/usr/lib/qt/plugins/sqldrivers/libqsqlpsql.so needs missing libpq.so.5
/usr/lib/scim-1.0/scim-panel-dbus needs missing libscim-1.0.so.8
/usr/lib/speech-dispatcher-modules/sd_espeak needs missing libespeak.so.1
/usr/lib/tc/q_atm.so needs missing libatm.so.1
/usr/lib/totem/plugins/publish/libpublish.so needs missing libepc-1.0.so.3 libepc-ui-1.0.so.3
/usr/lib/xine/plugins/1.30/xineplug_inp_vcd.so needs missing libvcdinfo.so.0
/usr/lib/xmms/Input/libxmms-flac.so needs missing libgdk-1.2.so.0 libglib-1.2.so.0 libgmodule-1.2.so.0 libgtk-1.2.so.0 libxmms.so.1
/usr/lib32/wine/mscms.dll.so needs missing liblcms.so.1
/usr/lib32/wine/msxml3.dll.so needs missing libxml2.so.2
/usr/lib32/wine/openal32.dll.so needs missing libopenal.so.1
/usr/lib32/wine/winemp3.acm.so needs missing libmpg123.so.0
/usr/lib32/wine/wldap32.dll.so needs missing liblber-2.4.so.2 libldap_r-2.4.so.2
/usr/sbin/sensord needs missing librrd.so.4
/usr/lib/ImageMagick-6.7.3/modules-Q16/coders/aai.la needs missing /usr/lib/libMagickCore.la
The most important thing here is, that is correct
cantor_rserver: error while loading shared libraries: libR.so: cannot open shared object file: No such file or directory
or
amarokmp3tunesharmonydaemon: error while loading shared libraries: libloudmouth-1.so.0: cannot open shared object file: No such file or directory
why are there so many broken packages? doesnt the maintainer run the findbrokenpkgs tool after they upgraded something?
Not everything is real because some stuff are optional dependencies, but a lot of stuff is also true
Last edited by Vamp898 (2011-12-09 18:51:18)
Is there a way to see whose are really broken and whose are optionally
Similar Messages
-
i recently uninstalled kedmod and installed fluxbox. The problem i am facing is that the command : pacman -Qee is showing many broken packages but pacworld utility is showing just one.
How do i reinstall all the broken packages.`pacman -Qe` shows orphans, "-Q --orphans(-Qe): list all packages installed as dependencies but no longer required by any package";
this basically means you can uninstall them if you don't explicitly need them. -
Broken packages or dependencies in ghc-pkg check [SOLVED]
To preface, I apologize is this is not the correct forum for my question; I looked through the list and tried to determine the most appropriate.
Anyways, I first had problems in trying to install yeganesh and aura from AUR, both of which give me the following error (I installed aura-bin for the time being; the interesting part of this output is just the last few lines):
$ sudo aura -A yeganesh
aura >>= Determining dependencies...
aura >>= AUR Packages:
yeganesh
aura >>= Continue? [Y/n]
aura >>= Building `yeganesh`...
aura >>= Well, building `yeganesh` failed.
aura >>= Dumping makepkg output in 3.. 2.. 1..
==> Making package: yeganesh 2.5-1 (Sun Dec 22 14:54:13 PST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading yeganesh-2.5.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 9373 0 0 11185 0 --:--:-- --:--:-- --:--:-- 11185
==> Validating source files with md5sums...
yeganesh-2.5.tar.gz ... Passed
==> Extracting sources...
-> Extracting yeganesh-2.5.tar.gz with bsdtar
==> Starting build()...
Setup.lhs:2:10:
Could not find module `Distribution.Simple'
There are files missing in the `Cabal-1.18.1.2' package,
try running 'ghc-pkg check'.
Use -v to see a list of the files searched for.
==> ERROR: A failure occurred in build().
Aborting...
aura >>= Would you like to continue anyway? [Y/n] n
aura >>= Building failed.
Following the given advice, I ran ghc-pkg check, which gives me the following (again, the last several lines are the most interesting, but I've included everything else for completeness):
$ ghc-pkg check
There are problems in package xdg-basedir-0.2.2:
Warning: library-dirs: /home/perlinm/.cabal/lib/xdg-basedir-0.2.2/ghc-7.6.3 doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/perlinm/.cabal/share/doc/xdg-basedir-0.2.2/html/xdg-basedir.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/perlinm/.cabal/share/doc/xdg-basedir-0.2.2/html doesn't exist or isn't a directory
import-dirs: /home/perlinm/.cabal/lib/xdg-basedir-0.2.2/ghc-7.6.3 doesn't exist or isn't a directory
file System/Environment/XDG/BaseDir.hi is missing
cannot find libHSxdg-basedir-0.2.2.a on library path
There are problems in package strict-0.3.2:
Warning: library-dirs: /home/perlinm/.cabal/lib/strict-0.3.2/ghc-7.6.3 doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/perlinm/.cabal/share/doc/strict-0.3.2/html/strict.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/perlinm/.cabal/share/doc/strict-0.3.2/html doesn't exist or isn't a directory
import-dirs: /home/perlinm/.cabal/lib/strict-0.3.2/ghc-7.6.3 doesn't exist or isn't a directory
file Data/Strict/Tuple.hi is missing
file Data/Strict/Maybe.hi is missing
file Data/Strict/Either.hi is missing
file Data/Strict.hi is missing
file System/IO/Strict.hi is missing
cannot find libHSstrict-0.3.2.a on library path
There are problems in package HTTP-4000.2.10:
Warning: library-dirs: /home/perlinm/.cabal/lib/HTTP-4000.2.10/ghc-7.6.3 doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/perlinm/.cabal/share/doc/HTTP-4000.2.10/html/HTTP.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/perlinm/.cabal/share/doc/HTTP-4000.2.10/html doesn't exist or isn't a directory
dependency "parsec-3.1.3-4ce5c20fb44b227ab443931c2714a6ef" doesn't exist
import-dirs: /home/perlinm/.cabal/lib/HTTP-4000.2.10/ghc-7.6.3 doesn't exist or isn't a directory
file Network/BufferType.hi is missing
file Network/Stream.hi is missing
file Network/StreamDebugger.hi is missing
file Network/StreamSocket.hi is missing
file Network/TCP.hi is missing
file Network/HTTP.hi is missing
file Network/HTTP/Headers.hi is missing
file Network/HTTP/Base.hi is missing
file Network/HTTP/Stream.hi is missing
file Network/HTTP/Auth.hi is missing
file Network/HTTP/Cookie.hi is missing
file Network/HTTP/Proxy.hi is missing
file Network/HTTP/HandleStream.hi is missing
file Network/Browser.hi is missing
file Network/HTTP/Base64.hi is missing
file Network/HTTP/MD5Aux.hi is missing
file Network/HTTP/Utils.hi is missing
file Paths_HTTP.hi is missing
cannot find libHSHTTP-4000.2.10.a on library path
There are problems in package zlib-0.5.4.1:
Warning: library-dirs: /home/perlinm/.cabal/lib/zlib-0.5.4.1/ghc-7.6.3 doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/perlinm/.cabal/share/doc/zlib-0.5.4.1/html/zlib.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/perlinm/.cabal/share/doc/zlib-0.5.4.1/html doesn't exist or isn't a directory
import-dirs: /home/perlinm/.cabal/lib/zlib-0.5.4.1/ghc-7.6.3 doesn't exist or isn't a directory
file Codec/Compression/GZip.hi is missing
file Codec/Compression/Zlib.hi is missing
file Codec/Compression/Zlib/Raw.hi is missing
file Codec/Compression/Zlib/Internal.hi is missing
file Codec/Compression/Zlib/Stream.hi is missing
cannot find libHSzlib-0.5.4.1.a on library path
There are problems in package stm-2.4.2:
Warning: library-dirs: /home/perlinm/.cabal/lib/stm-2.4.2/ghc-7.6.3 doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/perlinm/.cabal/share/doc/stm-2.4.2/html/stm.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/perlinm/.cabal/share/doc/stm-2.4.2/html doesn't exist or isn't a directory
import-dirs: /home/perlinm/.cabal/lib/stm-2.4.2/ghc-7.6.3 doesn't exist or isn't a directory
file Control/Concurrent/STM.hi is missing
file Control/Concurrent/STM/TArray.hi is missing
file Control/Concurrent/STM/TVar.hi is missing
file Control/Concurrent/STM/TChan.hi is missing
file Control/Concurrent/STM/TMVar.hi is missing
file Control/Concurrent/STM/TQueue.hi is missing
file Control/Concurrent/STM/TBQueue.hi is missing
file Control/Concurrent/STM/TSem.hi is missing
file Control/Monad/STM.hi is missing
file Control/Sequential/STM.hi is missing
cannot find libHSstm-2.4.2.a on library path
There are problems in package network-2.4.2.1:
Warning: library-dirs: /home/perlinm/.cabal/lib/network-2.4.2.1/ghc-7.6.3 doesn't exist or isn't a directory
Warning: include-dirs: /home/perlinm/.cabal/lib/network-2.4.2.1/ghc-7.6.3/include doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/perlinm/.cabal/share/doc/network-2.4.2.1/html/network.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/perlinm/.cabal/share/doc/network-2.4.2.1/html doesn't exist or isn't a directory
dependency "parsec-3.1.3-4ce5c20fb44b227ab443931c2714a6ef" doesn't exist
import-dirs: /home/perlinm/.cabal/lib/network-2.4.2.1/ghc-7.6.3 doesn't exist or isn't a directory
file Network.hi is missing
file Network/BSD.hi is missing
file Network/Socket.hi is missing
file Network/Socket/ByteString.hi is missing
file Network/Socket/ByteString/Lazy.hi is missing
file Network/Socket/Internal.hi is missing
file Network/URI.hi is missing
file Network/Socket/ByteString/IOVec.hi is missing
file Network/Socket/ByteString/MsgHdr.hi is missing
file Network/Socket/ByteString/Internal.hi is missing
file Network/Socket/Types.hi is missing
cannot find libHSnetwork-2.4.2.1.a on library path
There are problems in package Cabal-1.18.1.2:
Warning: library-dirs: /home/perlinm/.cabal/lib/x86_64-linux-ghc-7.6.3/Cabal-1.18.1.2 doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/perlinm/.cabal/share/doc/x86_64-linux-ghc-7.6.3/Cabal-1.18.1.2/html/Cabal.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/perlinm/.cabal/share/doc/x86_64-linux-ghc-7.6.3/Cabal-1.18.1.2/html doesn't exist or isn't a directory
import-dirs: /home/perlinm/.cabal/lib/x86_64-linux-ghc-7.6.3/Cabal-1.18.1.2 doesn't exist or isn't a directory
file Distribution/Compat/Environment.hi is missing
file Distribution/Compat/Exception.hi is missing
file Distribution/Compat/ReadP.hi is missing
file Distribution/Compiler.hi is missing
file Distribution/InstalledPackageInfo.hi is missing
file Distribution/License.hi is missing
file Distribution/Make.hi is missing
file Distribution/ModuleName.hi is missing
file Distribution/Package.hi is missing
file Distribution/PackageDescription.hi is missing
file Distribution/PackageDescription/Check.hi is missing
file Distribution/PackageDescription/Configuration.hi is missing
file Distribution/PackageDescription/Parse.hi is missing
file Distribution/PackageDescription/PrettyPrint.hi is missing
file Distribution/PackageDescription/Utils.hi is missing
file Distribution/ParseUtils.hi is missing
file Distribution/ReadE.hi is missing
file Distribution/Simple.hi is missing
file Distribution/Simple/Bench.hi is missing
file Distribution/Simple/Build.hi is missing
file Distribution/Simple/Build/Macros.hi is missing
file Distribution/Simple/Build/PathsModule.hi is missing
file Distribution/Simple/BuildPaths.hi is missing
file Distribution/Simple/BuildTarget.hi is missing
file Distribution/Simple/CCompiler.hi is missing
file Distribution/Simple/Command.hi is missing
file Distribution/Simple/Compiler.hi is missing
file Distribution/Simple/Configure.hi is missing
file Distribution/Simple/GHC.hi is missing
file Distribution/Simple/Haddock.hi is missing
file Distribution/Simple/Hpc.hi is missing
file Distribution/Simple/Hugs.hi is missing
file Distribution/Simple/Install.hi is missing
file Distribution/Simple/InstallDirs.hi is missing
file Distribution/Simple/JHC.hi is missing
file Distribution/Simple/LHC.hi is missing
file Distribution/Simple/LocalBuildInfo.hi is missing
file Distribution/Simple/NHC.hi is missing
file Distribution/Simple/PackageIndex.hi is missing
file Distribution/Simple/PreProcess.hi is missing
file Distribution/Simple/PreProcess/Unlit.hi is missing
file Distribution/Simple/Program.hi is missing
file Distribution/Simple/Program/Ar.hi is missing
file Distribution/Simple/Program/Builtin.hi is missing
file Distribution/Simple/Program/Db.hi is missing
file Distribution/Simple/Program/Find.hi is missing
file Distribution/Simple/Program/GHC.hi is missing
file Distribution/Simple/Program/HcPkg.hi is missing
file Distribution/Simple/Program/Hpc.hi is missing
file Distribution/Simple/Program/Ld.hi is missing
file Distribution/Simple/Program/Run.hi is missing
file Distribution/Simple/Program/Script.hi is missing
file Distribution/Simple/Program/Types.hi is missing
file Distribution/Simple/Register.hi is missing
file Distribution/Simple/Setup.hi is missing
file Distribution/Simple/SrcDist.hi is missing
file Distribution/Simple/Test.hi is missing
file Distribution/Simple/UHC.hi is missing
file Distribution/Simple/UserHooks.hi is missing
file Distribution/Simple/Utils.hi is missing
file Distribution/System.hi is missing
file Distribution/TestSuite.hi is missing
file Distribution/Text.hi is missing
file Distribution/Verbosity.hi is missing
file Distribution/Version.hi is missing
file Language/Haskell/Extension.hi is missing
file Distribution/Compat/CopyFile.hi is missing
file Distribution/Compat/TempFile.hi is missing
file Distribution/GetOpt.hi is missing
file Distribution/Simple/GHC/IPI641.hi is missing
file Distribution/Simple/GHC/IPI642.hi is missing
file Paths_Cabal.hi is missing
cannot find libHSCabal-1.18.1.2.a on library path
The following packages are broken, either because they have a problem
listed above, or because they depend on a broken package.
xdg-basedir-0.2.2
strict-0.3.2
HTTP-4000.2.10
zlib-0.5.4.1
stm-2.4.2
network-2.4.2.1
Cabal-1.18.1.2
I tried to search on the Arch forms, wiki, and elsewhere for what to do when ghc-pkg check gives me this result, but to no avail. Can anybody point me in the right direction? Doing a full upgrade did not help, and neither did installing all of my ghc packages from the [haskell-core] repository.
It might be relevant that in building cower from AUR I at some point got the following error:
/bin/sh: pod2man: command not found
I figured out I could fix this particular issue by adding /usr/bin/core_perl to my path, but my solution is far from ideal and I hope temporary. I will do some more searching and try to figure this out, but I am mentioning it here as it may be the case that there is some similar problem with a path not being included for the ghc packages.
Thanks.
Last edited by mika.perlin (2013-12-24 10:12:43)So I did add the [haskell-core] repository since making my original post, and it looks like all of my haskell packages have been reinstalled properly as far as I can tell. I do not remember whether I had cabal-install installed at the time of my original post, but I do not have it anymore (I did at some point try to install yeganesh using cabal --- and it worked. This method was extremely unsatisfying and hackish, however, and was certainly not a permanent solution to my problem).
In any case, since switching repos and reinstalling my haskell packages (including ghc) I have been getting a different error when trying to install yeganesh (missing dependencies):
$ sudo packer -S yeganesh
Aur Targets (1): yeganesh
Proceed with installation? [Y/n]
Edit yeganesh PKGBUILD with $EDITOR? [Y/n] n
==> Making package: yeganesh 2.5-1 (Tue Dec 24 00:58:03 PST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading yeganesh-2.5.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 9373 0 0 14555 0 --:--:-- --:--:-- --:--:-- 14555
==> Validating source files with md5sums...
yeganesh-2.5.tar.gz ... Passed
==> Extracting sources...
-> Extracting yeganesh-2.5.tar.gz with bsdtar
==> Starting build()...
Configuring yeganesh-2.5...
Setup: At least the following dependencies are missing:
strict >=0.3, xdg-basedir >=0.2
==> ERROR: A failure occurred in build().
Aborting...
The build failed.
Whatever is wrong, it is not with the dependencies or their versions:
$ pkgs=(strict xdg-basedir)
$ for pkg in $pkgs; do pacman -Qv haskell-$pkg | grep $pkg; done
Targets : haskell-strict
haskell-strict 0.3.2-27
Targets : haskell-xdg-basedir
haskell-xdg-basedir 0.2.2-19
I also tried removing these two dependencies in the PKGBUILD for yeganesh, but got the same error.
Doing some searching, it looks like this error can occur when some packages on the [haskell-core] repo (or, presumably, any repo from which the respective packages are retrieved) are not updated. In this case, the problem may fix itself if I wait a few days and upgrade. If indeed the AUR version of haskell-xdg-basedir (i.e. the one I have installed) does not currently work, maybe fixing that package will also fix my problem.
I should also note that haskell-xdg-basedir cannot be the only problem, as I get a similar error when I try to install aura:
$ sudo packer -S aura
Aur Targets (1): aura
Proceed with installation? [Y/n]
Edit aura PKGBUILD with $EDITOR? [Y/n] n
==> Making package: aura 1.2.1.3-1 (Tue Dec 24 00:57:45 PST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading aura-1.2.1.3.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 93041 100 93041 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k
==> Validating source files with md5sums...
aura-1.2.1.3.tar.gz ... Passed
==> Extracting sources...
-> Extracting aura-1.2.1.3.tar.gz with bsdtar
==> Starting build()...
Configuring aura-1.2.1.3...
Setup: At least the following dependencies are missing:
curl -any,
json -any,
mtl -any,
parsec -any,
regex-pcre -any,
temporary -any,
transformers -any
==> ERROR: A failure occurred in build().
Aborting...
The build failed.
I do, however, have all of these dependencies installed:
$ pkgs=(curl json mtl parsec regex-pcre temporary transformers)
$ for pkg in $pkgs; do pacman -Qs haskell-$pkg; done
local/haskell-curl 1.3.8-1
Haskell binding to libcurl
local/haskell-json 0.7-9
Support for serialising Haskell to and from JSON
local/haskell-mtl 2.1.2-27
Monad classes, using functional dependencies
local/haskell-parsec 3.1.4-1
Monadic parser combinators
local/haskell-regex-pcre 0.94.4-1
Replaces/Enhances Text.Regex
local/haskell-temporary 1.1.2.4-3
Portable temporary file and directory support for Windows and Unix, based on code from Cabal
local/haskell-transformers 0.3.0.0-27
Concrete functor and monad transformers
I suppose I'll wait a week or so and report back on whether upgrading has fixed these issues. -
Check concordance between the package database and the filesystem
Hello, I'd like to write this down :
To list the packages installed in the database, I use
pacman -Qsq
-Q because it's a query on the local database, s to search and q for quiet.
If you would like to list the files installed by pacman on your computer, you would do
pacman -Qqs | xargs pacman -Ql | cut -f2 -d' '
and if you would to count them you could write
pacman -Qqs|xargs pacman -Ql|wc -l
If you'd want to know if the files actually exist, and reporting for errors, you could run
for a_package in $(pacman -Qqs) ; do
for a_file in $( pacman -Ql ${a_package}|cut -d' ' -f2 ) ; do
if [ ! -e ${a_file} ]; then
echo package ${a_package} is broken: file ${a_file} is missing. ;
# use the following if you would wish to remove the broken package.
# sudo pacman -R ${a_package} ;
# break
fi ;
done ;
done
The if test does check if the file, whatever its kind (folder, symbolic link, etc), does actually exist on your computer, and report a problem if the file is missing. In a generality purpose, I used test -e. You could look at the test manpage, to look for more elaborate examples. You can imagine report what kind of file is missing, or run a check of the permissions and owner which file has in the file system.
So, I use this because I recently messed up my system with AUR build that came along with the database, but was hard to debug. I don't know how to distinguish between an AUR package and an official package, so this solution came out to clean my database.
I hope I could post more code snippets here if you find it useful. See you.
Last edited by dkremer (2011-08-12 13:05:26)Allan wrote:pacman -Qk ?
yes. It does the job as well. Just a question: can you use the output of this command to remove the packages which are broken ?
EDIT: actually pacman -Qqk gives the name of broken packages. My apologies.
Last edited by dkremer (2011-08-14 13:20:23) -
Solved libjpeg (7-1) in repo broken?
Tried playing Warsow and had a missing lib so went to make a link to the 7 package. Looking at lib the so.7 is missing and is showing under files that get installed but is missing from the lib dir. Is this a broken package?
Last edited by TomWitko (2009-08-24 19:41:11)K im missing something here im looking in /lib/ so need to make a -s link from libjpeg.so.6? to libjpg.so.7 but no such file in /lib/ never mind figured it out lol. Im such a newb , used to Ubuntu to much
Last edited by TomWitko (2009-08-24 19:31:33) -
Pacman trashed a whole bunch of packages
I was doing a big upgrade of maybe 100 or so packages and my system froze hard while pacman was installing stuff. Even alt-sysrq didn't work and there was nothing I could do other than a hard reset. After reset it appears that every single package it was installing is now trashed in a bad state. Why doesn't pacman keep the state of what's it doing so it can recover in situations like this? apt remembers if it hasn't fully configured a package so you can easily do a "apt-get -f install" to make it continue where it left off.
So now I'm stuck with a bunch of broken packages ("short file" errors and such). Force reinstalling each package works but I have no idea which packages are in a bad state. As I try to use the system I find more and more broken packages. Basically the whole system is hosed because I can't manually pick through and reinstall every broken package. Is there any way I can tell which packages pacman was working on during the failure and get it to repair them?Ah, found my original account. That excl account can be deleted. I thought I had lost this one. Anyway...
tomk wrote:Firstly, if you think pacman should have any particular additional functionality, submit a proper feature request, preferably with a patch attached. Including stuff like that in a forum help request is pointless.
Well the reason I would post something like there here is in the hopes that someone would say "It already does!" and show me the error of my ways and what I need to do. It's not pointless in the sense that I think I just may not know what I'm doing.
Secondly, please post the complete output from any failed pacman commands - paraphrased snippets like "failed to install", "regular errors" (whatever they are), and "file existing in package" are not helpful.
Well if the machine actually worked I could do that. As it is now I have no easy way to post the logs from that machine. Besides, I'm not really looking for help on those issues, my original request was to get help on getting pacman to fix all the stuff it left in an indeterminate state. I know how to fix errors like "file existing in package" (although I do still dislike that this type of problem still exists). The bunch of zero length files is my main concern.
And about apt remembering "if it hasn't fully configured a package" - pacman installs only, the configuration is up to you.
This isn't about the user configuration. I'm referring to pacman installation procedure. It goes through a series of steps something like: download, verify, extract, configure. It failed before it finished all those steps and left those packages in a bad state. At this point as far as pacman is concerned it thinks it finished everything when it in fact it didn't.
Inxsible wrote:Here's a sticky for the FILENAME exists in filesystem -- I am assuming that's what you mean by file exists in package error.
Yeah sorry, I should have been more clear. I know what the error is and how to fix it. I just meant "that typical error that everyone knows about." That's the reason why I didn't elaborate on the errors I was getting.
With that said, it doesn't sound like there is an easy fix for this. I'll mess around with it some more and see what I can do. I was just hoping to not have to put in this amount of work to get the system running again -
Idea for package review system
I've set up a small proposal at http://arch.gooeylinux.org/ . I had been discussing with Xentac for a while about displaying random packages on the Arch front page. The devels would then encourage people to test them, and go along the lines of "if you can't program, or don't have lots of free time, help out this way". People want to help, but they need a "starting point", and the random packages give that.
The packages listed at the top of the linked page are just random, and don't really mean much. It's just an example.
Basically, my problem with the current system is that once a package makes it into -Current, there is no periodic review to make sure the packages are still working, up to date, etc. This would provide a network of people to review first, current packages, and second, new major changes that the devels want to implement, but don't want to risk without testing. It's all explained on the link. This network of testers could be a very valuable asset to the developers.
lavapunk helped out and tested 4 random packages I listed yesterday and found 3 packaging/build errors. I think this helps to prove the system is needed.
I'd love any criticism. I'm sure there's kinks in the idea.contrasutra wrote:
OK, I was thinking of expanding the project with a "package feedback" system, where people would report WORKING packages (bugtracker is still the place for broken packages).
This would help me get an idea about who is participating, and it would give us some assurance packages are working well. Does this sound like a good idea? What type of system should I use?
Just a small update, from chatting on IRC, it seems as if a few more broken packages were found through the project testing (not by me).
this sounds like an excelent idea ... but what system to use i dont know exactly --- i would start with a mysql-db (maybe you can have an export from the original one??) and a php interface with user/account access ... but i'm proposing this, because this is the only solution i really can code to work and did, so maybe there are other better ones (tomcat? ...?) -
N9 update: Unable to trace installation package de...
Hello
I got an issue updating PR1.2 for N9. I have developer packages installed. Two remaining packages were not updated otherwise the update was succesful.
devtools-memory
devtools-debug
Packages give me messages
Can't install
Unable to trace installation package dependencies
Files in /etc if they are any help:
$ ls -l /etc/apt/
total 40
drwxr-xr-x 2 root root 4096 Mar 4 19:17 apt.conf.d
drwxr-xr-x 2 root root 4096 Jun 30 2011 preferences.d
-rw------- 1 root root 0 Aug 31 2011 secring.gpg
drwxr-xr-x 2 root root 4096 Aug 31 2011 sources.list.d
-rw------- 1 root root 1200 Aug 31 2011 trustdb.gpg
-rw------- 1 root root 9025 Aug 31 2011 trusted.gpg
drwxr-xr-x 2 root root 4096 Jun 30 2011 trusted.gpg.d
-rw------- 1 root root 7849 Aug 31 2011 trusted.gpg~
$ ls -l /etc/apt/sources.list.d/
total 8
-rw-r--r-- 1 root root 222 Mar 4 19:13 aegis.ssu-keyring-001.list
-rw-r--r-- 1 root osa 22 Mar 4 19:18 osa.list
$ cat /etc/apt/sources.list.d/aegis.ssu-keyring-001.list
deb https://[email protected]/harmattan/001 ./
deb https://[email protected]/harmattan/apps ./
deb https://[email protected]/harmattan/tools ./
$ cat /etc/apt/sources.list.d/osa.list
deb-exec /usr/bin/osa
Any hint for workaround or is there update batch coming?
JalomannI would like to get at least some kind of statement should I reinstall all the devtools packages or is there something wrong with the dependencies. See following printout:
~ # apt-get install devtools-memory
Reading package lists...
Done
The following packages have unmet dependencies: devtools-memory:
Depends: valgrind but it is not going to be installed
E: Broken packages
~ # apt-get install valgrind
Reading package lists...
Done
The following information may help to resolve the situation:
The following packages have unmet dependencies: valgrind:
Depends: libc6-dbg but it is not going to be installed
E: Broken packages
~ # apt-get install libc6-dbg
Reading package lists...
Done
The following information may help to resolve the situation:
The following packages have unmet dependencies: libc6-dbg:
Depends: libc6 (= 2.10-0maemo18.1+0m6) but 2.10-0maemo20+0m7 is to be installed
E: Broken packages -
Yaourt fails to install *any* AUR package
Hello, I'm new to Arch, but since my problem is pretty much specific to yaourt/AUR I thought this would be the better place to ask around.
I tried to install a whole bunch of packages from the AUR repository, but almost all that I tried failed to install, mainly dependency errors far into or after the compiling process, one example - the game Go-Ollie wouldn't install because the Image Magick library wasn't found. However, Image Magick is installed, but there's no trace of it's library not in the AUR, nor the community repository. Same with A7XPG - failed to install because something was missing that I can't find anywhere. I am starting to get VERY frustrated. It looks like there are a ton of broken packages floating around in the AUR and there are a ton of programs missing that I'm used to having on the other distors (Ubuntu, Fedora, etc..) What am I missing here? Am I doing something wrong or is AUR/Yaourt really as messed up as it seems? A little help?
PS: Please be easy on me, I'm still a grass green noob after allbloodyhell wrote:Got an off-topic question though - It came to my attention that the Arch install distro had a relatively easy albeit non-graphical installer. Why did the developers ditch this? I think I'll never understand the appeal of things being more complicated and/or inconvenient than they have to be.
The AIF was not ditched for any but the most simple reason: It was buggy as hell and the maintainer did not have the time to keep it going. It tried to do everything, to cover every scenario, but was ultimately a victim to its own complexity. The new installer is not more complicated, it is actually more simple. All you have to do is follow the readme step by step and make your own decisions in the process. I find pacstrap and arch-chroot to be more universal than the old AIF. Before the switch, creating an install script was a painful process of understanding the AIF and learning its syntax. Now we have these straight forward tools, so building your own install script is very easy. It also gives you a more in-depth knowledge of what's going on on your system.
The new installer also seems to be more friendly towards wifi users. Then you will never ever again have to deal with the situation, that the AIF somehow kicks you out of the process and then complains about an ongoing installation, without telling you where the lockfile is or how to fix this manually. In a menu, I always press down and enter to get to the next item. The AIF did half of this, it moved the cursor down to the next item automatically. In more than one occasion, I killed the installer with this and sometimes even had to redo the entire process (incl. downloading the packages), because bringing the installer back to a specific state was a painful act. I find the current solution more user friendly.
If you feel like Arch could need a menu driven installer, you are invited to create one, but all attempts to do this so far either drowned as quick as they had emerged or were rejected by the other users, because they were either too specific, too buggy or generally failed to add anything to the process, that the current install scripts have to offer. -
Is pulseaudio broken? (main.c: daemon startup failed)
Hi everyone, i just followed the wiki, and didn't manage to get pulse working.
Just wondering, is it broken?
I can't get it to work in rc script, i get ' E: main.c: daemon startup failed.',
tried to comment the out .failed, in /etc/pulse/default.pa as suggested on the wiki, but it didn't help.
I ignored the messege as someone said on the fourm it works anyway, and didn't see it on gnome's mixer.
I tried to use abs, but it seems to be broken too.
So, how did you get your pulseaudio working?
Thanks in advance.Ok, i just built it from abs and got an error, then, i realized i had double values for the same config in pulseaudio conf.
Anyways, i'm not sure if that was because a broken package, or it was wrong configured from the first place.
Now it works good anyway.. -
Hey everyone,
I just wanted to let everyone know that the latest Xserver update from yesterday, is a bad one!
Initially, you may not notice any problems. (which is probably how it made it through testing). However, anyone using any software that includes gestures, middle-clicks/right-clicks (with dragging) will probably notice this. and it's a big problem depending on what software you need to be able to use.
I had originally posted about Easystroke being broken (found in AUR, gesture recognition software). as this is how i noticed the problem. That discussion was moved to AUR forum, but it's not an AUR problem. It is a problem in the "EXTRA" repo, and thus a problem for anybody who may have, or will upgrade yesterday/today!!
In general desktop usage, you may not notice the problem. Basically, mouse clicks/dragging do not work properly when using Easystroke, Opera, Chrome, Maya2011...and a bunch of other applications, i would assume. it doesn't seem to affect the First mouse button (or in my case the tip of my Wacom Stylus).
It is really noticeable in any applications that require "clicking/dragging" with second/third mouse buttons held down. Opera's navigation gestures do not work (hold down right-click and mouse your mouse) - usually you would get a big-black button on the screen, not anymore, it disappears instantly... in Easystroke your clicks will get held, and easystroke will not register a single input/gesture. In Maya2011, i am screwed until this is fixed.
you will be able to use your desktop just fine, but be aware xserver 1.10.902 should have never left testing! ...and you might want to wait to upgrade it until this problem ahs been fixed.
The bug is upstream and apparently has been reported (upstream) by the people at Launchpad;
https://bugs.launchpad.net/ubuntu/+sour … bug/757972
It's not an Arch specific bug, so i didn't file a bug report. i just wanted to let everyone know, as it isn't obvious if your not using certain types of software and combinations of whatever type of input (mouse/tablet) you are using....
jordan
Last edited by triplesquarednine (2011-05-05 06:41:48)ejmarkow wrote:
@triplesquarednine: I've been having Xorg issues with my synaptics touchpad and cursor movement for a while now. The solution for me has been to constantly downgrade back to the latest working Xorg packages. Please see the following thread:
Unusual Buggy 'Tabs' Behavior in Firefox & Pidgin Since Xorg Upgrade
Yes, I've read that thread. I don't plan on downgrading. I can deal until it is fixed. it doesn't actually affect me that much, and
I've been using MacOSX instead, for most of my work. Which is exactly why i still have OSX running, because it is rock solid and never gives me problems, ever thus, it is a good fallback. (and most of the software i use in Linux, is also installed in OSX)
Hopefully, this is resolved soon, it's been a couple of days ~ and i hope upstream is taking this bug seriously, as it is a really stupid bug, that could have easily been avoided - had the code been tested properly, before pushing it out the door.
All that someone had to do, was try to do a mouse-grab, and they would have noticed... strange.
I also don't get why it hasn't been pulled from the extra-repo?!?!?!?? clearly, it is a broken package, and should not be distributed, or be available as an update in the extra repo at all ~ this just seems stupid to me, someone has really dropped the ball here.
jordan -
[Solved] gcc 4.5.1 error
I installed gcc 4.5.1 but get error when I try to compile this test program:
#include <stdio.h>
int main()
printf("GCC Works");
The errors I get:
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../crt1.o: In function `_start':
(.text+0xc): undefined reference to `__libc_csu_fini'
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../crt1.o: In function `_start':
(.text+0x11): undefined reference to `__libc_csu_init'
collect2: ld returned 1 exit status
Is that caused by broken packages? Please help me.
EDIT: I think it is caused by glibc, that I installed manually from the Packages section.
Last edited by CheatCat (2010-09-18 19:14:31)If you install the Arch packages via pacman there won't be a problem, so it must be the manually installed glibc.
Last edited by loafer (2010-09-18 19:12:50) -
THERE'S A VERY GOOD REASON WHY IT'S LATE....
Arch Linux Weekly Newsletter
*Jason Chu and Ben Mazer*
Opening
Welcome to the Arch Linux Newsletter. This attempts to give you an ``at
a glance'' look at the world of Arch Linux.
News
This Week in Dev Land
1. Dale has received a script to let firebird and thunderbird play
nice. He's looking at adding them now.
2. Arjan is busy right now. Everyone else is trying to pick up his
slack.
3. Functional specifications are nearly complete for the new AUR system.
ArchStats Updates
/To participate, visit:/ http://archstats.coding-zone.com/
Number of registered systems: 450
Date first system was registered: 20031017
Most recent update occurred: 20040615
Longest recorded uptime: 175 days, 22 hours, 51 minutes, 55 seconds.
Average uptime: 5 days, 1 hours, 51 minutes, 45 seconds.
Least packages installed on a system: 44
Average installed packages: 263
Most packages installed on a system: 733
Discussions
Forum Highlights
1. Benedict_White has been working on porting Webmin to Arch. Check
on his progress in this thread:
http://bbs.archlinux.org/viewtopic.php?t=5042.
2. DP has solved the GL.la problem that has plagued many users. He
has provided a simple file to install on your system to replace
the missing library. Read the thread here:
http://bbs.archlinux.org/viewtopic.php?t=5124.
Mailing List Highlights
1. The debate was raised again about packaging quality. Jlowell
criticized the developers, stating that there have been too many
broken packages. More of the same points were raised, including
having the developers focus more on developing the base, and less
on the packaging. Read the whole thread here:
http://www.archlinux.org/pipermail/arch … 01625.html.
2. I semi-seriously asked about the possibility of bittorrent
integration with pacman. It would save the developers bandwidth
and give the users a way to contribute. There would be many
technical issues with a bittorrent system. Read the thread here:
http://www.archlinux.org/pipermail/arch … 01670.html.
3. tsykoduk asked about adding changelogs to the packages or
PKGBUILDs. It was decided that the CVS changelogs were sufficient.
Read the thread here:
http://www.archlinux.org/pipermail/arch … 01647.html.
Packages
Package Highlights
1. KDE 3.2.3 was packaged this week. This should fix most of the
problems people have been having with KDE. Read the announcement
here: http://kde.org/announcements/announce-3.2.3.php.
New Packages
speex 1.1.5-1
enigma 1.04-1
fontconfig 2.2.1-2
glibc 2.3.3-1t2
squirrelmail 1.5.1cvs-1
spamassassin 2.63-6
kdetv 0.8.1-1
amarok 1.0beta4-1
m4 1.4.1-1
gimp-gap 2.0.2-1
gimp-help-2 0.3-1
gimp-freetype 0.6-1
bogofilter 0.91.1-1
phpmyadmin 2.5.7-1
ghex 2.6.1-1
openbox 3.2-3
apollon 0.9.4-3
quanta 3.2.3-1
kdevelop 3.0.4-1
sylpheed-claws 0.9.11-1
mozilla-thunderbird 0.6-2
vim 6.3-2
ttf-ms-fonts 1.3-5
subversion 1.0.5-1
iputils 021109-2
iputils 021109-3t1
lcms 1.13-1
xsane 0.94-3
cvs 1.11.17-1
mlterm 2.8.0-5
jed 0.99.16-1
kdeaccessibility 3.2.3-1
kdesdk 3.2.3-1
kdetoys 3.2.3-1
kdeutils 3.2.3-1
kdemultimedia 3.2.3-1
kdenetwork 3.2.3-1
kdepim 3.2.3-1
kdegames 3.2.3-1
kdegraphics 3.2.3-1
kdelibs 3.2.3-1
kdebase 3.2.3-1
kdebindings 3.2.3-1
kdeedu 3.2.3-1
kdeaddons 3.2.3-1
kdeadmin 3.2.3-1
kdeartwork 3.2.3-1
arts 1.2.3-1
xawtv 3.93-1
expect 5.41.0-1
gvim 6.3-1
xmms-cdparanoia 0.1-1
gv 3.5.8-4
irssi 0.8.9-4
imagemagick 6.0.2-1
taglib 1.1-1
STAGING Listing
/To get access to this, and other repos, visit http://tur.archlinux.org/
giftui 0.4.1-s1
briquolo 0.4.2-1
tutris 1.0.1-s1
straw 0.23-1
qtparted 0.4.4-s1
workrave 1.4.1-s1
opera 7.51-s1
sim 0.9.3-s1
gxine 0.3.3-s1
taged 3.0-s1
gmencoder 0.1.0-s1
aspell-fr 0.50.1-1
cmf 1.4.2-s1
gnotime 2.1.7-s1
smb4k 0.4.0-s1
gp 0.26-1
gtk-smooth-engine 0.5.6-s1
windowlab 1.23-s1
crypto++ 5.1-s1
gtkglextmm 1.0.1-s1
libgnomecups 0.1.8-s1
muine 0.6.2-s1
ion-devel 20030814-1
gocr 0.39-s1
kbarcode 1.6.1-s1
ksambaplugin 0.5b2-1
oooqs 2.0.3-s1
libchipcard 0.9.1-1
plone 2.0-s1
kmyfirewall 0.9.6.2-s1
ether-wake 1.09-1
gxmame 0.34b-1
libofx 0.6.4-1
fortune-mod-dune-quotes 2.0.1-s1
gtweakui 0.0.6-s1
lwm 1.2.0-1
nvidia 1.0.5336-s1
materm 0.1-1
lablgtk 1.2.6-s1
monopd 0.9.0-s1
mp3burn 0.3.1-1
ntfsprogs 1.9.2-s1
ocaml 3.07pl2-s1
parse-yapp 1.05-1
kshutdown 0.1.7-s1
pixieplus 0.5.4-1
ooqstart 0.8.3-s1
logjam 4.4.0-s3
replace 2.22-s1
prizm 0.2-s1
bittornado 0.3.2-s1
pygtkglext 1.0.1-s1
xmms-vqf 0.94-s1
scribus-docs 1.0.1-s1
seahorse 0.7.3-2
shaaft 0.5.0-1
supertux 0.1.1-s1
synaptics 0.13.2-s1
hwd 2.2-s1
spe 0.4.2c-s1
gifsicle 1.40-1
texmacs 1.0.3.3-s1
tse3 0.2.7-1
unison 2.9.1-s1
universalkopete 0.1-1
streamtuner-xiph 0.1.0-s1
streamtuner-python 0.1.2-s1
xml-dom 1.43-1
xml-regexp 0.03-1
xml-xql 0.68-1
xtermset 0.5.1-s1
xv 3.10a-1
xymms 0.9.1-s1
sip 3.10.1-s1
qscintilla 1.2-s1
tnftp 20030825-1
imms 1.1-s1
adns-python 1.0.0-1
digikam 0.6.1-s1
htmldoc 1.8.23-1
si3d 1.2-1
xfree86-freefonts-fonts 0.10-1
pil 1.1.4-s1
esmtp 0.5.0-1
gkrellm_amiconnected 0.6-1
gkrellmseti 0.7.0b-1
meld 0.9.1-1
msmtp 0.7.1-1
nautilus_thumbnailers 0.0.3-1
njam 1.00-1
gtk-sharp 0.93-s1
dosemu 1.2.1-s1
digikamplugins 0.6.1-s2
pyxml 0.8.3-s1
skencil 0.6.16-s1
bfilter 0.9.3-1
wtf 0.0.4-s1
amule 1.2.6-s2
jack-audio-connection-kit 0.91.1-2
gnome-cups-manager 0.18-s1
fbpager 0.1.4-s1
mpd 0.10.3-s1
pychecker 0.8.14-s1
py-libmpdclient 0.10.0-s1
cups-pdf 1.4.2a-s1
3ddesktop 0.2.5-s1
scribus-devel 1.1.7-s1
sip 4.0rc3-s1
pyqt 3.11-s1
qalculate 0.5.1-s1
soundtracker 0.6.7-s1
tla 1.2-s1
pycrypto 1.9a6-s1
emelfm2 0.0.7-s2
sylpheed-gtk2 0.9.9-s2
lyx-qt 1.3.4-s1
kradio 0.3.0-2
eric 3.4.1-s1
Problems
FAQ
Q: I'm trying to compile something (in C++), but I'm getting random errors.
A: Arch is using GCC 3.4.0. GCC 3.4 is much stricter when it comes to
C++ code. It will break on many more errors than GCC 3.3. You should
email the developers of the broken application, or check their
CVS/mailing list to see if they have provided patches.
Bugs
Bugs Closed This Week
997 font-config wrong fonts.conf please correct that
991 fontconfig-2.2.90-2 takes out several of my fonts
998 loaddisk is required if installing not from cdrom0
992 Upgrading KDE conflicts spamassassin
990 iputils-021109-2 fails to build
981 Clamav CVS
704 dns lookup AAAA records
898 gv build error
892 imagemagick fails on install. perl5.8
932 librsvg missing libgsf dependency
926 tcl-8.4.6 tclConfig.sh bug
958 BitchX has a wrong symlink
751 downloaderx is broken (needs rebuild against new gtk)
900 xine-lib does not compile with gcc 3.4
979 Clamav CVS
980 Clamav CVS
977 Clamav 0.72
Bugs Opened This Week
1001 unable to use kprinter in OO after update to 3.2.3
1000 idesk missing needed dependency on imlib
999 Automatic loaddisk during bootup fails if CD not in cdrom0
996 avifile will not compile
995 transcode will not compile
994 transcode unable to use xvid option
993 Add xjed to the jed package
989 Xfce4-tips - unfiled dependency
988 rox-system can't start, due to libgtop error.
987 libnss-mysql+pacman woes
986 makepkg -e doesn't validate files
985 liquidwar segfaults - allegro relink error
984 Thunderbird's PKGBUILD source entree is invalid
983 gnome depends on samba and cups
982 gnome-themes contains invalid symlinks
Closing
We're thinking about changing the format of the newsletter. Now that
Arch has an official HTML/CSS standard for documentation, it seems
appropriate to move the newsletter to that standard. We can convert the
newsletter to plain TXT for email, though it may lose some formatting.
How do you read the newsletter? If many people read it over email, we
will continue to provide email ``delivery'' along with HTML, but if most
people read it over the web, we will cut the email delivery. Please give
us your feedback. What is the most convenient format for the newsletter?
That's it for this week, stay tuned for more exciting Arch Linux news.Dusty wrote:
sarah31 wrote:the link for the bit about jlowell bitching again doesn't work.
bah. so what?
ok, i read it on a lot of posts, and now i want to know what it means:
what do you mean with "bah"? is this a short form for something you have in canadian english or canadian français i do not know about? -
Out-of-place upgrade going wrong
Trying to work through an upgrade from 11.2.0.1 to 11.2.0.3 on a dev box, prefereably without major downtime, 64-bit Linux. Since I cannot shutdown existing listeners or database, the approach is perhaps a bit non-standard
<li>I've got the 11.2.0.3 software unzipped</li>
<li>I've created directories for a new ORACLE_BASE</li>
<li>I've exported ORACLE_BASE=/new/directory/structure</li>
<li>I've then launched database/runInstaller from the unzipped location and performed a painless software-only installation</li>
I'm now slightly confused about the next bit, bearing in mind I'm trying to do this without any downtime on the existing 11.2.0.1 database.
What I'd like to do is to get a copy of the existing database opened and running from the 11.2.0.3 home, whilst the existing 11.2.0.1 db continues on as it is.
<li>So I've set a new ORACLE_SID</li>
<li>I've copied across the orapw and init.ora from the old O_H to the new, renaming them appropriately</li>
<li>I've edited the init.ora so that path-specific parameters all now take the new O_H directory structure</li>
<li>I've then put the entire existing database into hot backup mode and copied it to the new O_H structure</li>
Because so little is being done on the original database I appear to have got away with copying online redo logs, because I was able to startup mount; issue lots of 'alter database rename file...' commands so the new file locations are picked up; recover database; alter database open upgrade.
What I am now struggling with is how to actually upgrade the freshly-opened new database. If I run dbua, it says 'database isn't mounted', whether the new db copy is in mount or open upgrade mode. If I run @catupgrd.sql, it seems to complete without a problem, leaving STATUS of V$INSTANCE at OPEN MIGRATE. But when I run the @utlu112s.sql command, I get this:
Oracle Database 11.2 Post-Upgrade Status Tool 01-23-2013 6:45:00
Component Current Version Elapsed Time
Name Status Number HH:MM:SS
Oracle Server
Upgrade Incomplete
PL/SQL procedure successfully completed.If I push on and run @catuppst.sql, I get this (I've abbreviated as much as I can):
SQL> @catuppst.sql
TIMESTAMP
COMP_TIMESTAMP POSTUP_BGN 2013-01-23 6:48:41
PL/SQL procedure successfully completed.
This script will migrate the Baseline data on a pre-11g database
to the 11g database.
begin
ERROR at line 1:
ORA-04063: package body "SYS.DBMS_SWRF_INTERNAL" has errors
ORA-06508: PL/SQL: could not find program unit being called:
"SYS.DBMS_SWRF_INTERNAL"
ORA-06512: at line 2
(null) rows created.
DECLARE
ERROR at line 1:
ORA-04063: package body "SYS.DBMS_REGISTRY" has errors
ORA-06508: PL/SQL: could not find program unit being called:
"SYS.DBMS_REGISTRY"
ORA-06512: at line 4
SP2-1506: START, @ or @@ command has no arguments
TIMESTAMP
COMP_TIMESTAMP POSTUP_END 2013-01-23 6:48:46
PL/SQL procedure successfully completed.
BEGIN
ERROR at line 1:
ORA-04063: package body "SYS.DBMS_REGISTRY" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_REGISTRY"
ORA-06512: at line 2
IF CatbundleCreateDir(:catbundleLogDir) = 0 THEN
ERROR at line 71:
ORA-06550: line 71, column 14:
PLS-00201: identifier 'CATBUNDLECREATEDIR' must be declared
ORA-06550: line 71, column 11:
PL/SQL: Statement ignored Not only can't I query dba_registry, opatch lsinventory shows nothing (because it's a fresh install of 11.2.0.3).
Any suggestions of where I am going wrong, please?
(I am following http://docs.oracle.com/cd/E11882_01/server.112/e23633/upgrade.htm#i1011372 and have checked Upgrade from 10203 to 10204 among others)I think that (partially, as it turns out) de-installing unlicensed components on the original database may have caused this problem.
I tried doing a data pump export of the original database, and it failed with an error I tracked down in Metalink (I'm sorry, I didn't record the specifics). Turned out there were four tables left behind from OWB and a broken package related to Spatial. I dropped those, and the export worked.
But instead of using that export, I tried my hot copy technique again.. and this time it worked.
So I guess the moral of the story is to ensure your source database is 100% functional before you try messing around with any of this stuff.
Edited by: Catfive Lander on Jan 24, 2013 10:01 PM
Have remembered one of the specifics: Metalink 1328829.1 (OLAP removal leaves behind DBMS_CUBE_EXP in an invalid state). There was one other similar issue, but I still don't remember the details on that. -
Hi, I just did an smpatch analyze/download/add, and I saw a surprising number of problems. The ones that worry me in particular are the bad command usages. Is this normal?! QA can't be this bad, can it?
Also this system has no non-global zones, are the zone errors normal?
bash-3.00# smpatch add -x idlist=patches-061207
add patch 124458-01
Transition old-style patching.
Patch 124458-01 has been successfully installed.
add patch 120762-03
Transition old-style patching.
Patch 120762-03 failed to install due to a failure produced by pkgadd.
pkgadd: ERROR: The package <SPROprfan> is currently installed on the system in the
global zone. To install the new instance of this package in the global
zone only, you must specify the -G option. To install the new instance
of this package in all zones you must first remove the existing instance
of this package from the global zone first (via pkgrm) and then install
the new instance of this package in all zones.
pkgadd: ERROR: package <SPROprfan> cannot be installed on this system/zone
add patch 121616-03
Transition old-style patching.
Patch 121616-03 failed to install due to a failure produced by pkgadd.
pkgadd: ERROR: The package <SPROdbx> is currently installed on the system in the
global zone. To install the new instance of this package in the global
zone only, you must specify the -G option. To install the new instance
of this package in all zones you must first remove the existing instance
of this package from the global zone first (via pkgrm) and then install
the new instance of this package in all zones.
pkgadd: ERROR: package <SPROdbx> cannot be installed on this system/zone
add patch 121022-02
Transition old-style patching.
Patch 121022-02 failed to install due to a failure produced by pkgadd.
pkgadd: ERROR: The package <SPROl90s> is currently installed on the system in the
global zone. To install the new instance of this package in the global
zone only, you must specify the -G option. To install the new instance
of this package in all zones you must first remove the existing instance
of this package from the global zone first (via pkgrm) and then install
the new instance of this package in all zones.
pkgadd: ERROR: package <SPROl90s> cannot be installed on this system/zone
add patch 120759-09
Transition old-style patching.
Patch 120759-09 failed to install due to a failure produced by pkgadd.
pkgadd: ERROR: The package <SPROlang> is currently installed on the system in the
global zone. To install the new instance of this package in the global
zone only, you must specify the -G option. To install the new instance
of this package in all zones you must first remove the existing instance
of this package from the global zone first (via pkgrm) and then install
the new instance of this package in all zones.
pkgadd: ERROR: package <SPROlang> cannot be installed on this system/zone
add patch 121020-03
Transition old-style patching.
ERROR: This patch requires the following patches
which have not been applied to the system:
121022-01 120759-01
add patch 121016-04
Transition old-style patching.
ERROR: This patch requires patch 120759-06
which has not been applied to the system.
add patch 121018-07
Transition old-style patching.
ERROR: This patch requires patch 120759-04
which has not been applied to the system.
add patch 118778-07
Transition old-style patching.
Patch 118778-07 has been successfully installed.
add patch 119131-26
Transition old-style patching.
Patch 119131-26 has been successfully installed.
Reboot client to install driver.
/var/sadm/pkg/SUNWfcsm/save/119131-26/undo: -- file unchanged
compress(1) returned error code 2
The SUNWfcsm backout package will not be compressed.
Continuing to process backout package.
mv: Insufficient arguments (1)
Usage: mv [-f] [-i] f1 f2
mv [-f] [-i] f1 ... fn d1
mv [-f] [-i] d1 d2
#Name: Maximum frame length
#Type: Integer, bytes; Range: 512, 1024, 2048
# Default: 2048
#Usage: This field specifies the frame payload length (in bytes) used by
# the ISP2xxx firmware.
#NOTE: The minimum value is 512 bytes; if this variable is not equal to
# 512, 1024 or 2048, the ISP2xxx defaults to values specified
# above.
max-frame-length=2048;
mv: Insufficient arguments (1)
Usage: mv [-f] [-i] f1 f2
mv [-f] [-i] f1 ... fn d1
mv [-f] [-i] d1 d2
add patch 118919-19
Transition old-style patching.
Patch 118919-19 has been successfully installed.
add patch 119314-09
Transition old-style patching.
Patch 119314-09 has been successfully installed.
/var/sadm/pkg/SUNWfsmgtu/save/119314-09/undo: -- file unchanged
compress(1) returned error code 2
The SUNWfsmgtu backout package will not be compressed.
Continuing to process backout package.
/var/sadm/pkg/SUNWlvma/save/119314-09/undo: -- file unchanged
compress(1) returned error code 2
The SUNWlvma backout package will not be compressed.
Continuing to process backout package.
EXISTING_FILE_PRESERVED: /etc/security/audit_event /etc/security/audit_event.new
WARNING!!! - /etc/apache2/ssl.conf may have been modified from it's original contents.
WARNING!!! - Original /etc/apache2/ssl.conf saved as /etc/apache2/ssl.conf.new
WARNING!!! - Merge any changes made to /etc/apache2/ssl.conf.new into /etc/apache2/ssl.conf
usage: valpath [-[a|l][b|c|f|y][n|[o|z]]rtwx] input
where options may include:
-a #absolute path
-b #block special device
-c #character special device
-f #ordinary file
-l #relative path
-n #must not exist (new)
-o #must exist (old)
-r #read permission
-t #permission to create (touch)
-w #write permission
-x #execute permisiion
-y #directory
-z #non-zero length
usage: valpath [-[a|l][b|c|f|y][n|[o|z]]rtwx] input
where options may include:
-a #absolute path
-b #block special device
-c #character special device
-f #ordinary file
-l #relative path
-n #must not exist (new)
-o #must exist (old)
-r #read permission
-t #permission to create (touch)
-w #write permission
-x #execute permisiion
-y #directory
-z #non-zero length
usage: valpath [-[a|l][b|c|f|y][n|[o|z]]rtwx] input
where options may include:
-a #absolute path
-b #block special device
-c #character special device
-f #ordinary file
-l #relative path
-n #must not exist (new)
-o #must exist (old)
-r #read permission
-t #permission to create (touch)
-w #write permission
-x #execute permisiion
-y #directory
-z #non-zero length
usage: valpath [-[a|l][b|c|f|y][n|[o|z]]rtwx] input
where options may include:
-a #absolute path
-b #block special device
-c #character special device
-f #ordinary file
-l #relative path
-n #must not exist (new)
-o #must exist (old)
-r #read permission
-t #permission to create (touch)
-w #write permission
-x #execute permisiion
-y #directory
-z #non-zero length
add patch 119316-07
Transition old-style patching.
Patch 119316-07 has been successfully installed.
/var/sadm/pkg/SUNWmga/save/119316-07/undo: -- file unchanged
compress(1) returned error code 2
The SUNWmga backout package will not be compressed.
Continuing to process backout package.
add patch 119082-25
Transition old-style patching.
Patch 119082-25 has been successfully installed.
add patch 119253-16
Transition old-style patching.
Patch 119253-16 has been successfully installed.I've omitted many successful patches. The idlist is:
bash-3.00# cat patches-061207
119253-16 SunOS 5.10_x86: System Administration Applications Patch
119082-25 SunOS 5.10_x86: CD-ROM Install Boot Image Patch
124189-02 SunOS 5.10_x86: Trusted Solaris Attributes Patch
119316-07 SunOS 5.10_x86: Solaris Management Applications Patch
121309-08 SunOS 5.10_x86: Solaris Management Console Patch
119314-09 SunOS 5.10_x86: WBEM Patch
119255-31 SunOS 5.10_x86: Install and Patch Utilities Patch
119964-08 SunOS 5.10_x86: Shared library patch for C++_x86
120754-03 SunOS 5.10_x86: Microtasking libraries (libmtsk) patch
123495-03 X11 6.6.2_x86: fontconfig patch
119813-03 X11 6.6.2_x86: Freetype patch
122530-05 SunOS 5.10_x86: nge patch
120544-07 SunOS 5.10_x86: Apache 2 Patch
118344-14 SunOS 5.10_x86: Fault Manager Patch
124207-02 SunOS 5.10_x86: libtsol patch
124238-01 SunOS 5.10_x86: ftp patch
124445-01 SunOS 5.10_x86: mountd patch
119686-09 SunOS 5.10_x86: lib/svc/bin/svc.startd Patch
121082-06 SunOS 5.10_x86: Connected Customer Agents 1.1.0
120053-05 SunOS 5.10_x86: pam library patch
120846-03 SunOS 5.10_x86: auditd patch
124236-01 SunOS 5.10_x86: libpam.so.1 patch
120051-04 SunOS 5.10_x86: usermod patch
121300-02 SunOS 5.10_x86: caplib patch
124187-03 SunOS 5.10_x86: flash issue with SUNWscn-base due to broken package
124615-01 SunOS 5.10_x86: sconadm proxy: UnknownHostException
118368-04 SunOS 5.10_x86: csh Patch
121604-02 SunOS 5.10_x86: libcfgadm.so.1, scsi.so.1 patch
124283-01 SunOS 5.10_x86: init patch
121005-03 SunOS 5.10_x86: sh patch
122184-02 SunOS 5.10_x86: logadm timestamp patch
118919-19 SunOS 5.10_x86: Solaris Crypto Framework patch
119131-26 SunOS 5.10_x86: Sun Fibre Channel Device Drivers
121805-03 SunOS 5.10_x86: GRUB patch
124281-01 SunOS 5.10_x86: libkdb.so.1 patch
124287-01 SunOS 5.10_x86: chkey patch
120630-04 SunOS 5.10_x86: libpool patch
124443-01 SunOS 5.10_x86: ssh patch
119758-04 SunOS 5.10_x86: Samba patch
124466-02 SunOS 5.9_x86 : cacao 2.0 patch 02
118668-09 J2SE 5.0_x86: update 9 patch (5.0u9)
119602-08 SunOS 5.10_x86: Patch for European Region JDS messages
123662-04 SunOS 5.10_x86: Basic Registration Localization
119398-04 SunOS 5.10_x86: Patch for North America Region locale issues
118778-07 SunOS 5.10_x86: Sun GigaSwift Ethernet 1.0 driver patch
120759-09 Sun Studio 11_x86: Sun Compiler Common patch for x86 backend
121018-07 Sun Studio 11_x86: Patch for Sun C++ 5.8 compiler
121016-04 Sun Studio 11_x86: Patch for Sun C_x86 5.8 Compiler
121022-02 Sun Studio 11_x86: Patch for Fortran 95 Dynamic Libraries
121020-03 Sun Studio 11_x86: Patch for x86 Fortran 95 8.2 Compiler
121616-03 Sun Studio 11_x86: Patch for Sun dbx 7.5_x86 Debugger
120762-03 Sun Studio 11_x86: Patch for Performance Analyzer Tools
124394-01 CDE 1.6_x86: Dtlogin smf patch
123612-02 X11 6.6.2_x86: Trusted Extensions patch
119281-09 CDE 1.6_x86: Runtime library patch for Solaris 10
119279-12 CDE 1.6_x86: dtlogin patch
124406-01 CDE 1.6_x86: sdtfprop patch
124404-01 CDE 1.6_x86: dtstyle patch
124402-01 CDE 1.6_x86: dtpad patch
124400-01 CDE 1.6_x86: dtfile patch
124396-01 CDE 1.6_x86: dtaction patch
119118-25 Evolution 1.4.6_x86 patch
123939-01 GNOME 2.6.0_x86: GNU Transport Layer Security Library Patch
119419-03 GNOME 2.6.0_x86: Gnome On-screen Keyboard Patch
119415-12 GNOME 2.6.0_x86: Gnome Accessibility Libraries Patch
119599-08 GNOME 2.6.0_x86: Gnome Screen Reader and Magnifier Patch
120461-10 GNOME 2.6.0_x86: Gnome libs Patch
120285-04 GNOME 2.6.0_x86: GNOME CORBA ORB and component framework
122213-13 GNOME 2.6.0_x86: GNOME Desktop Patch
119549-06 GNOME 2.6.0_x86: Gnome Multi-protocol instant messaging client Patch
120289-03 GNOME 2.6.0_x86: Gnome terminal Patch
119907-07 Gnome 2.6.0_x86: Virtual File System Framework patch
119539-10 GNOME 2.6.0_x86: Window Manager Patch
122423-03 SunOS 5.10_x86: add missing locale files for Mozilla
122959-02 GNOME 2.6.0_x86: RealPlayer media application
119060-19 X11 6.6.2_x86: Xsun patch
124458-01 X11 6.6.2_x86: xdm patchObjects are imported in reverse order.
You should've imported BOSV first and then BOS. As Todd directed you need to recreate/reimport the BOS synonyms if the base objects in BOSV exist.
Maybe you are looking for
-
Hi Rahul In A/P invoice i want G/L account to change depending on Item Group & Tax Code . If Item Group is 101 & Tax Code = Vat 5.5 then it should hit a particular G/L If Item Group is 102 & Tax Code = CST 5 then it should hit a particular G/L Is it
-
My HP G71 Model#G71-329WM will not load a CD or DVD so I need to replace the optical drive. What is the correct Part number? Thanks This question was solved. View Solution.
-
String.toNumber()??
String S="1265"; int X=SomeMethod(S); //X must be 1265What can I substitute SomeMethod with?
-
The file I'm proofreading is not allowing me access to the Comments and Markup toolbar. The bar itself is "greyed out" and I can't make any of the editing changes to the pdf as I normally would. The only difference I see with this file is the messag
-
Changes Interactive forms after SAP_BASIS SP19, SUM in formcalc
Hi, after updating to SP19 of SAP_BASIS, formcalc has changed in sum() evaluation (I know it is strange): Before SP19 in this expression: Sum($form.IK.IN.DATA[*].N_HOD), Sum returns zero value if table has zero rows (nothing to count) now I get error