debian 没有内置 ufw, 怎么解决? - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
Cify
V2EX    Linux

debian 没有内置 ufw, 怎么解决?

  •  
  •   Cify 2022-0-23 15:43:35 +08:00 3844 次点击
    这是一个创建于 1133 天前的主题,其中的信息可能已经有所发展或是发生改变。

    apt 也没法安装.

    14 条回复    2022-10-24 12:07:34 +08:00
    edis0n0
        1
    edis0n0  
       2022-10-23 15:45:22 +08:00
    sudo apt update && sudo apt install -y ufw
    Cify
        2
    Cify  
    OP
       2022-10-23 16:08:59 +08:00
    @edis0n0 早就试过了.

    0% [Working]E: Package 'ufw' has no installation candidate
    Ign:1 cdrom://[Debian GNU/Linux 11.5.0 _Bullseye_ - Official amd64 DVD Binary-1 20220910-10:40] bullseye InRelease
    Err:2 cdrom://[Debian GNU/Linux 11.5.0 _Bullseye_ - Official amd64 DVD Binary-1 20220910-10:40] bullseye Release
    Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Hit:3 https://download.docker.com/linux/debian bullseye InRelease
    Get:4 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
    Get:5 http://security.debian.org/debian-security bullseye-security/main Sources [166 kB]
    Get:6 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [191 kB]
    Reading package lists... Done
    E: The repository 'cdrom://[Debian GNU/Linux 11.5.0 _Bullseye_ - Official amd64 DVD Binary-1 20220910-10:40] bullseye Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    hingle
        3
    hingle  
       2022-10-23 16:12:49 +08:00
    edis0n0
        4
    edis0n0  
       2022-10-23 16:17:34 +08:00
    @hingle #3 不建议用 tuna 这些教育网源,很不稳定,不是连不上就动不动 10kb/s 商业云的源相比之下要稳定不少,就是同步慢
    7RTDKSAK
        5
    7RTDKSAK  
       2022-10-23 16:28:34 +08:00
    @Cify 把 cdrom 那条源注释掉啊,那是安装过程中你选错了
    Cify
        6
    Cify  
    OP
       2022-10-23 16:32:33 +08:00
    @7RTDKSAK 早注释了, 所以很奇怪.
    Cavolo
        7
    Cavolo  
       2022-10-23 16:41:47 +08:00 via iPhone
    @Cify 这哪是 debian 的问题
    Aixiaoa
        8
    Aixiaoa  
       2022-10-23 16:46:30 +08:00 via iPhone
    把源全部注释。全换国内的。
    wtks1
        9
    wtks1  
       2022-10-23 17:02:30 +08:00 via Android
    @Cify 把文件清空,重新写入需要的源地址试试
    adoal
        10
    adoal  
       2022-10-23 17:13:57 +08:00
    你 source.list 里的源地址:
    1. 不存在的 CDROM
    2. 是 Docker ,不是 Debian
    3. 是 Debian security updates ,不是主仓库
    当然没有主仓库里的大多数包了。
    Cify
        11
    Cify  
    OP
       2022-10-23 17:44:13 +08:00
    @Aixiaoa 搞定了, 谢谢了.


    @adoal 没那么多问题, 刚报障宽带, 路由器经常掉线问题.
    fuckaholic
        12
    fuckaholic  
       2022-10-24 09:38:41 +08:00   1
    @Cify 这样很容易让帮助者却步
    GoodRui
        13
    GoodRui  
       2022-10-24 10:40:28 +08:00 via iPhone
    @edis0n0 阿里云的源倒是稳定,稳定在 100kb ~ 200kb ,我自己家的家宽,公司的企业专线,客户的服务器也是企业专线都是,难道是地域原因?
    lexno
        14
    lexno  
       2022-10-24 12:07:34 +08:00
    @GoodRui #13 阿里云的源现在到外网都很慢,要是服务器是阿里云还可以用,其他的就别用阿里云了
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2615 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 25ms UTC 13:55 PVG 21:55 LAX 05:55 JFK 08:55
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86