File: aptitude.bug-script

package info (click to toggle)
aptitude 0.8.13-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 40,400 kB
  • sloc: cpp: 95,278; xml: 31,928; sh: 5,160; makefile: 923; perl: 108; cs: 70; lisp: 55; sed: 16
file content (29 lines) | stat: -rw-r--r-- 510 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh

export LANG=C

if [ $TERM ]; then
    echo "Terminal: $TERM" >&3
else
    echo "\$TERM not set." >&3
fi

if [ $DISPLAY ]; then
    echo "\$DISPLAY is set." >&3
else
    echo "\$DISPLAY not set." >&3
fi

aptitude=$(which aptitude)
echo "which aptitude: $aptitude" >&3

echo >&3

echo "aptitude version information:" >&3
# I would like to run `which aptitude`, but that raises security issues.
/usr/bin/aptitude --version >&3

echo >&3

echo "aptitude linkage:" >&3
/usr/bin/ldd /usr/bin/aptitude >&3