Click to See Complete Forum and Search --> : apt screwing up when getting new version
Gaccm
03-18-2001, 02:52 AM
if i do a apt-get install apt (there is a new version [i use the testing tree]) it says, "the following program will be removed: adduser bsdmainutils debconf lilo lynx telnetd" ALL of these are programs that i want. i tried doing apt-get install (list all the above progs and) apt but then i get a library error for debconf. any ideas?
First i would try:
apt-get install debconf
Then try the others. If this does not work, you may want to post actual erros. This will make it easier for someone to aid you.
Regards,
Rod
Gaccm
03-18-2001, 06:47 PM
here goes: when i try apt-get install debconf:
"Sorry, you have the latest version"
apt-get install apt debconf bsdmainutils lilo lynx telnetd adduser:
"sorry (all pors except apt listed) are already newest version. sorry, but the following packages have unmet dependencies:
debconf: Depends: libapt-pkg2.7
E: sorry, broken packages"
apt-get check:
no errors listed. the only thing i have left to try is apt-get dist-upgrade.
[ 18 March 2001: Message edited by: Gaccm ]
Gaccm
03-18-2001, 06:50 PM
apt-get dist-upgrade gives me the same prob as apt-get upgrade
libapt-pkg2.7 is an apt dependency.
apt-get -f install
apt-get install apt
If it removes the programs, let it, then fetch them again with your new apt.
Keep us posted.
Regards,
rod
Gaccm
03-18-2001, 07:11 PM
i installed the new apt, and it removed everything, i tried apt-get install lilo and it was tried to install debconf (lilo requires debconf) but debconf failed in setting up "Cant locate object method "value" via package "Debconf::Question" at /usr/lib/perl5/Debian/DebConf/Config.pm line 76 i opened the file but couldn't see anything really weird at that line
Looks like you may need to install perl first.
apt-get install perl
Let us know.
Regards,
Rod
Gaccm
03-18-2001, 07:20 PM
sigh, "Sorry, perl is already newest version"
Try this:
dpkg-reconfigure debconf
Then try and apt your "stuff' again.
Regards,
Rod
Gaccm
03-18-2001, 07:57 PM
get the same error as last time "Cant locate object method "value" via "Debconf::Question" at /usr/lib/perl5/Debian/DebConf/Config.pm line 76"
here is my Config.pm file (lines 73-8)
my $question=Debian: :DebConf::ConfigDb::getquestion(
'debconf/frontend'
);
if ($question) {
$ret=$question->value|| $ret;
}
another thing i thought of, who know how you can choose (for package managing) to only see questions of critical, medium, high and trivial importance? maybe that has to do with this (just a guess).
I think I led you down the path to destruction. How about getting apt pointed at unstable and install debconf for the unstable tree.
I'm looking for other solutions.
Regards,
Rod
Either:
a) install debconf 0.9.x from unstable
b) remove /var/lib/debconf/*.db, install stable's debconf
c) replace all occurrences of Debconf:: with Debian: :DebConf:: in /var/lib/debconf/*.db, install stable's debconf
Sorry for the extra work here, was surely not my intention.
Regards,
Rod
Gaccm
03-19-2001, 01:00 AM
woohoo, everything works now. I got the unstable version of debconf (i just hope there arn't any major bugs in it :/) Everything seems to work now, thx.