You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a repository that only holds python27, but a user installed python35 on his box.
During an upgrade the following is asked:
python35 has no direct installation candidates, change it to python27? [Y/n]:
Since -y is used the answer is "yes", but the command fails because python27 is already installed....
python35 has no direct installation candidates, change it to python27? [Y/n]: Y
Checking for upgrades (149 candidates): 100%
Processing candidates (149 candidates): 100%
pkg: sqlite error while executing UPDATE packages SET name=?1 WHERE name=?2; in file pkg_jobs.c:1731: UNIQUE constraint failed: packages.name
:
[143/144] Fetching py27-dnspython-1.15.0.txz: 100% 167 KiB 170.6kB/s 00:01
Checking integrity...Assertion failed: (strcmp(uid, p->uid) != 0), function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 386.
Child process pid=54683 terminated abnormally: Abort trap
It would probably suffice if someone could explain what replacements are and how they can be disabled?
Also thought about reversing the question, because -y is not really appropriate as the "default" answer is reversed and should be "no"?
The text was updated successfully, but these errors were encountered:
fichtner
changed the title
interactive replacement question in -y upgrade run
inversed replacement question in -y upgrade run, failure to replace existing package
May 17, 2018
Hello,
We have a repository that only holds python27, but a user installed python35 on his box.
During an upgrade the following is asked:
Since -y is used the answer is "yes", but the command fails because python27 is already installed....
It would probably suffice if someone could explain what replacements are and how they can be disabled?
Also thought about reversing the question, because -y is not really appropriate as the "default" answer is reversed and should be "no"?
Cheers,
Franco
https://forum.opnsense.org/index.php?topic=7253.0
The text was updated successfully, but these errors were encountered: