tzdata 2024a-0+deb11u1

Upgrade package บน raspberrypi วันนี้มี package ที่ต้อง update แต่มีปัญหาอยู่ เจ้า package อันนั้นก็คือ

tzdata 2024a-0+deb11u1

ซึ่ง upgrade ไปแล้วจะได้ผลประมาณนี้

Fetched 13.2 MB in 1min 14s (180 kB/s)                                                                                                                                                                             
Reading package lists... Done                                                                                                                                                                                      
Reading package lists... Done                                                                                                                                                                                      
Building dependency tree... Done                                                                                                                                                                                   
Reading state information... Done                                                                                                                                                                                  
Calculating upgrade... Done                                                                                                                                                                                        
The following packages will be upgraded:                                                                                                                                                                           
  tzdata                                                                                                                                                                                                           
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.                                                                                                                                                     
Need to get 0 B/304 kB of archives.                                                                                                                                                                                
After this operation, 931 kB of additional disk space will be used.                                                                                                                                                
apt-listchanges: Reading changelogs...                                                                                                                                                                             
Preconfiguring packages ...                                                                                                                                                                                        
(Reading database ... 52286 files and directories currently installed.)                                                                                                                                            
Preparing to unpack .../tzdata_2024a-0+deb11u1_all.deb ...                                                                                                                                                         
Unpacking tzdata (2024a-0+deb11u1) over (2023c-5) ...                                                                                                                                                              
dpkg: error processing archive /var/cache/apt/archives/tzdata_2024a-0+deb11u1_all.deb (--unpack):                                                                                                                  
 unable to open '/usr/share/zoneinfo/posix/Africa/Abidjan.dpkg-new': No such file or directory                                                                                                                     
Errors were encountered while processing:                                                                                                                                                                          
 /var/cache/apt/archives/tzdata_2024a-0+deb11u1_all.deb                                                                                                                                                            
needrestart is being skipped since dpkg has failed                                                                                                                                                                 
E: Sub-process /usr/bin/dpkg returned an error code (1)                                                                                                                                                            

ตรวจสอบดูแล้ว คิดว่าย้อนกลับไปใช้ตัวเก่าจะดีกว่า

cj@pi01:~ $ apt-cache policy tzdata                                                                                                                                                                                
tzdata:                                                                                                                                                                                                            
  Installed: 2023c-5                                                                                                                                                                                               
  Candidate: 2024a-0+deb11u1                                                                                                                                                                                       
  Version table:                                                                                                                                                                                                   
     2024a-0+deb11u1 500                                                                                                                                                                                           
        500 http://ftp.jaist.ac.jp/raspbian bullseye/main armhf Packages                                                                                                                                           
 *** 2023c-5 500                                                                                                                                                                                                   
        500 http://ftp.jaist.ac.jp/raspbian bookworm/main armhf Packages                                 
        100 /var/lib/dpkg/status                    

ติดตั้ง version 2023c-5 โดยการใช้คำสั่ง

sudo apt install tzdata=2023c-5       

จบ

Leave a Comment

Your email address will not be published. Required fields are marked *