Author: johayek
-
dpk-query: why are certain packages being shown as “un … (no description available)”?
Solution: Some other package depends on this package, but only optionally resp. as an alternative; of the alternatives … one is indeed installed, but not this one, but still this is gets listed.
This is how the package first showed up:
$ dpkg-query --list foo... Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/... |/ Err?=(none)/... ||/ Name Version Architecture Description +++-======================-================-================-... un foo___________________ <none> <none> (no description available)I have that package “foo…” being displayed as Unknown (Desired) and Not (Status).
I am rather keen to know, why it gets listed at all.
I cannot find the right dpkg* command to tell me, which package depends on foo… .
This is sort of a “raw command” to help me:
$ fgrep --before 10 foo... /var/lib/dpkg/status
Update 2018-05-30:
This command line (almost) does, what I expect:
$ apt-rdepends --reverse foo... # the "r" in "rdepends" stands for "recursive"
The quirk is, that the dependency in fact is only optional resp. alternative (this is the reason, why the package is not installed), but this fact does not get displayed.
This command line does not, what I expect:
$ apt-cache rdepends foo... # the "r" in "rdepends" stands for "reverse"
-
SQLite vs Oracle SQL Developer – nope?!?
- https://en.wikipedia.org/wiki/SQLite
- https://en.wikipedia.org/wiki/Oracle_SQL_Developer
- http://www.oracle.com/technetwork/developer-tools/sql-developer/thirdparty-095608.html
- http://www.oracle.com/technetwork/database/migration/omwb-getstarted-093461.html
- https://stackoverflow.com/questions/1525444/how-to-connect-sqlite-with-java
- https://bitbucket.org/xerial/sqlite-jdbc/downloads/
(Looks like) SQL Developer is no longer able to interface with as many RDBMSs as explained in its list.
-
Oracle DB as VirtualBox appliance (2017-06-14 update)
If you already are VirtualBox-minded, this is a very nice approach to get Oracle DB running.
-
in the middle of upgrading a WordPress plugin I exceeded my disk quota and I only saw “HTTP ERROR 500” from then on
Before I started upgrading that WordPress plugin I did not actually notice, that I exceeded my disk quota. Well, sh*t happens.
Once I was able to think clearly again, I wondered which files I could easily get rid of. WordPress backups. I saved my (recent) WordPress backups over to my NAS immediately (I do have a Rakefile entry for that), and I removed the WordPress backups on my WordPress host. Now there was enough space to “breathe” again sufficiently.
$ cd .../wp/wp-content/plugins $ mkdir tmp $ mv THE_CORRUPT_PLUGIN tmp/ # from here on your "HTTP ERROR 500" should be gone already # and your plugin appears as inactive on the plugins dashboard. $ cd tmp/ $ wget FRESH_VERSION_OF_THE_CORRUPT_PLUGIN.tar.gz $ tar xtf FRESH_VERSION_OF_THE_CORRUPT_PLUGIN.tar.gz $ cd .. $ mv tmp/FRESH_VERSION_OF_THE_CORRUPT_PLUGIN . # re-activate your plugin on the plugins dashboard!
…
-
“Oracle Instant Client” for Linux x86-64 (RPM) – why not “*.so.X.2”?
Why is this:
10.2.0.5 (why not “.so.10.2“?):
- ./usr/lib/oracle/10.2.0.5/client64/lib/libocci.so.10.1
- ./usr/lib/oracle/10.2.0.5/client64/lib/libclntsh.so.10.1
- ./usr/lib/oracle/10.2.0.5/client64/lib/libclntsh.so -> libclntsh.so.10.1
- ./usr/lib/oracle/10.2.0.5/client64/lib/libocci.so -> libocci.so.10.1
- ./usr/lib/oracle/10.2.0.5/client/lib/libsqora.so.10.1
11.2.0.2.0 (why not “.so.11.2“?):
- ./usr/lib/oracle/11.2/client64/lib/libocci.so.11.1
- ./usr/lib/oracle/11.2/client64/lib/libclntsh.so.11.1
- ./usr/lib/oracle/11.2/client64/lib/libclntsh.so -> libclntsh.so.11.1
- ./usr/lib/oracle/11.2/client64/lib/libocci.so -> libocci.so.11.1
- ./usr/lib/oracle/11.2/client64/lib/libsqora.so.11.1
11.2.0.4.0 (why not “.so.11.2“?):
- ./usr/lib/oracle/11.2/client64/lib/libocci.so.11.1
- ./usr/lib/oracle/11.2/client64/lib/libclntsh.so.11.1
- ./usr/lib/oracle/11.2/client64/lib/libclntsh.so -> libclntsh.so.11.1
- ./usr/lib/oracle/11.2/client64/lib/libocci.so -> libocci.so.11.1
- ./usr/lib/oracle/11.2/client64/lib/libsqora.so.11.1
12.2.0.1.0 (why not “.so.12.2“?):
- ./usr/lib/oracle/12.2/client64/lib/libocci.so.12.1
- ./usr/lib/oracle/12.2/client64/lib/libclntshcore.so.12.1
- ./usr/lib/oracle/12.2/client64/lib/libclntsh.so.12.1
- ./usr/lib/oracle/12.2/client64/lib/libclntshcore.so -> libclntshcore.so.12.1
- ./usr/lib/oracle/12.2/client64/lib/libclntsh.so -> libclntsh.so.12.1
- ./usr/lib/oracle/12.2/client64/lib/libocci.so -> libocci.so.12.1
- ./usr/lib/oracle/12.2/client64/lib/libsqora.so.12.1
The “.so.X.1” links even get described here:
-
Debian: network install from a minimal CD
- https://www.debian.org/CD/netinst/
- https://www.debian.org/doc/manuals/debian-faq/ch-choosing.en.html#s3.1.11 – “I am currently tracking stable. Can I change to testing or unstable? If so, how?“