I have a certificate bundle .crt file.
doing openssl x509 -in bundle.crt -text -noout
only shows the root certificate.
how do i see all the other certificates?
I have a certificate bundle .crt file.
doing openssl x509 -in bundle.crt -text -noout
only shows the root certificate.
how do i see all the other certificates?
I have a server build script which uses apt-get to install packages. It then puts pre-written configuration files directly in place, so the interactive post-install configuration dialog in packages such as postfix is not needed. How do I skip this stage of the installation? It creates a piece of manual intervention that I would rather avoid.
I am aware of the -qq
option, but the manpage warns against using it without specifying a no-action modifier. I do want to perform an action, I just want to suppress a specific part of it.
To compile something, I needed the zlib1g-dev
package to be installed so I launched an apt-get install zlib1g-dev
.
apt-get
informed me nicely that the package was already auto-installed because of an other package, and that it understands that I want it installed explicitly now :
# apt-get install zlib1g-dev
zlib1g-dev is already the newest version.
zlib1g-dev set to manually installed.
My compilation done, I don't need it any more explicitly, so I want to revert its status to the previous one : auto-installed. This way it will be pruned automatically when it will not be needed any more with a simple apt-get autoremove
.
I cannot do an apt-get remove zlib1g-dev
since some packages still depends on it.
So how may I revert the package zlib1g-dev
installation state to auto-installed ?
I know that I might edit /var/lib/apt/extended_states
by hand from
Package: zlib1g-dev
Auto-Installed: 0
to
Package: zlib1g-dev
Auto-Installed: 1
... but it just doesn't feel right.
I schedule some tasks using crontab.
What will happen if my computer is shutdown or turned off during the time when cron was scheduled to do something?
Does each missed cron job run after computer is turned on, or are missed jobs for that day ignored? If missed jobs don't resume, is there any way to configure cron such that it runs the missed tasks after the computer is turned back on?