domjudge安装笔记

本文记录了一位开发者在Ubuntu 18.04上安装DOMJudge的过程,包括安装环境、DOMJudge组成、安装步骤、解决的错误及配置细节。历经多次尝试,最终成功搭建,并提供了相关参考资料。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

故事的开始

缘起

刚刚参加完TOPC比赛2020 ICPC Asia Taiwan Online Programming Contest。赛前豪言壮语,“什么他娘的国立大学,老子打得就是国立” ,赛后再一次被虐的怀疑人生。
比赛时使用的domjudge平台,赛后主办方公开了比赛测资。故想着自己搭建一个domjudge平台,供自己和其他同校选手复盘使用。

意外

前前后后一共从头开始了四次,作为一个一边查linux指令一边摸索着安装的弱鸡,一度想要放弃。
第一次安装:突然停电,文件损坏,一切归零~~(台湾用爱发电名不虚传 )~~ 。
第二次安装:发生了包依赖错误,想着卸载出现错误的软件重装,就下了autoremove命令。然后就看到一个个图标逐渐消失,最后连记事本也没剩下…(安装十年功,卸载十秒钟! )
第三次安装:再一次停电~~(祭央乂的用爱发电大队?! )。~~
经过三次血泪历程,老老实实使用虚拟机快照,大家切记要备份,都是血与泪的教训。
第四次安装:卡在建立judgehost的chroot环境。最后发现是ubuntu版本的问题,重新换了ubuntu 18.04之后解决。

结果

花了7天的时间,终于搭建完domjudge。感谢导师对我的全力帮助和教导!

安装环境

virtual box 4GB内存 50GB硬盘
ubuntu 18.04 LTS
domjudge 7.3

一开始本着用新不用旧的原则,使用了ubuntu20.04,结果卡在judgehost的chroot环境的安装。
在安装chroot环境时会出现包依赖错误,翻阅很多了debootstrap和domjudge的相关资料,未找到具体原因。

w: Failure while configuring base packages .This will be re-attempted up to five times .w: See /chroot/ domjudge 1 debootstr ap/ debootstrap.log for details (possibly the package dconf-service is at fault )

W: Failure while configur ing base packages.This will be re- attempted up to five times.w: See /chroot 1 domjudge/ deboots tr ap/debootstrap.log for details (possibly the package dconf-service is at fault)

w: Failure while configuring base packages .This will be re-attempted up to five times.w: See /chroot 1 domjudge/ deboots tr ap/debootstrap.log for details (possibly the package dconf-service is at fault )

W: Failure while conf iguring base packages. This will be re- attempted up to f ive times .w: See /chroot/ domjudge 1 debootstr ap/ debootstrap.log for details (possibly the package dconf-service is at fault)

W: Failure while configuring base packages .This will be re-attempted up to five times .W: See /chroot/ domjudge/ debootstrap /debootstrap.log for details (possibly the package dconf-service is at fault )
4 dpkg: error processing package sof tware- proper ties-common ( --configure):
5 dependency problems - leaving unconf igured
бЕггогѕ wеrе еnсоuntеrеd whіlе рrосеѕѕіng:
7 dconf -service
8 dconf - gsettings- backend :
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值